Hi,
i would once more vote for removing this nasty @s
if it is really a problem for you we could disable displaying of errors
in common.lib.php
or using ob_*() function to catch all output till and of common.lib.php and
@ does not only hide error messages from being displayed but also hides
them from being logged
just disabling display errors can also lead to the same problem if
logging of errors is also disabled
if using ob_*() we can catch all output (where no output should happen)
and check this - and than can present the user that there are some
errors occurred and they should check there error log file and/or enable
it and/or tell the administrators about this
ob_*() is fine till no 'official' output is happening - but later this
is not possible - so we could also use our own error-handler
any opinions?
--
Sebastian Mendel
www.sebastianmendel.de
$GLOBALS['strUploadErrorIniSize'] = 'The uploaded file exceeds the
upload_max_filesize directive in php.ini.';
$GLOBALS['strUploadErrorFormSize'] = 'The uploaded file exceeds the
MAX_FILE_SIZE directive that was specified in the HTML form.';
$GLOBALS['strUploadErrorPartial'] = 'The uploaded file was only
partially uploaded.';
$GLOBALS['strUploadErrorNoTempDir'] = 'Missing a temporary folder.';
$GLOBALS['strUploadErrorCantWrite'] = 'Failed to write file to disk.';
$GLOBALS['strUploadErrorExtension'] = 'File upload stopped by extension.';
$GLOBALS['strUploadErrorUnknown'] = 'Unknown error in file upload.';
--
Sebastian Mendel
www.sebastianmendel.de
what are the rules for this:
/* $Id: tbl_replace_fields.inc.php 9887 2007-01-30 18:10:17Z lem9 $ */
// vim: expandtab sw=4 ts=4 sts=4:
isn't it enough if it is placed inside the pagelevel docblock?
where must this vim settings placed for being recognized by vim?
especially in this case - there is already an $id in the pagelevel
docblock - is this the wrong location?
why pagelevel docblock? - to appear in the phpDoc generated documentation
--
Sebastian Mendel
www.sebastianmendel.de
Hi,
i am bit wired - if i remember right we decided to use sessions and to
use sessions only with cookies, right?
but why did we decide to allow propagating the session id by url in
session.inc.php?
--
Sebastian Mendel
www.sebastianmendel.de
hi,
it seems PMA_SQP_typeCheck() is not used anywhere
and even if used - i think this function does not work as expected
$typeSeperator = '_';
if (strcmp($whatWeWant, $toCheck) == 0) {
return TRUE;
} else {
if (strpos($whatWeWant, $typeSeperator) === FALSE) {
return strncmp($whatWeWant, $toCheck, strpos($toCheck,
$typeSeperator)) == 0;
} else {
return FALSE;
}
}
the second 'if' should compare to !== false
or did i missed something?
--
Sebastian Mendel
www.sebastianmendel.de
_ __ __ _ _ _
_ __ | |__ _ __ | \/ |_ _ / \ __| |_ __ ___ (_)_ __
| "_ \| "_ \| "_ \| |\/| | | | | / _ \ / _` | "_ ` _ \| | "_ \
| |_) | | | | |_) | | | | |_| |/ ___ \ (_| | | | | | | | | | |
| .__/|_| |_| .__/|_| |_|\__, /_/ \_\__,_|_| |_| |_|_|_| |_|
|_| |_| |___/ 2.10.0-beta1
http://www.phpmyadmin.net
phpMyAdmin 2.10.0-beta1 - January 29, 2007
==========================================
A PHP application to administrate MySQL over the Web
----------------------------------------------------
Announcement
------------
The phpMyAdmin Project announces the immediate availability
of the first beta release for phpMyAdmin 2.10.0.
phpMyAdmin is a web administration tool for MySQL databases, intended to
handle a whole database server as well as a single database. Over the
years, it has become the most popular Web GUI for MySQL.
Improvements:
* Designer: new graphical relation manager
* Improved speed on servers with thousands of databases/tables
* Vertical field editor (optional)
* Option to avoid counting rows for views
* Calendar on search page
* DOS-style end-of-lines in setup-generated files
Detailed list of changes is available under
http://www.phpmyadmin.net/ChangeLog.txt
Availability
------------
This software is available under the GNU General Public License V2.0.
You can get the newest version at http://www.phpmyadmin.net/
Available file formats are: .zip, .tar.gz and .tar.bz2.
If you install phpMyAdmin on your system, it's recommended to
subscribe to the news mailing list by adding your address under
http://lists.sourceforge.net/lists/listinfo/phpmyadmin-news
This way, you will be informed of new updates and security fixes.
It is a read only list, and traffic is not greater than a few
mail every year.
Support and Documentation
-------------------------
The documentation is included in the software package as text and
HTML file, but can also be downloaded from:
http://www.phpmyadmin.net/documentation/
The software is provided as is without any express or implied
warranty, but there is a bugs tracker page under:
http://sourceforge.net/projects/phpmyadmin/ [click on "Bugs"]
In addition, there are also a number of discussion lists
related to phpMyAdmin. A list of mailing lists with archives
is available at:
http://sourceforge.net/mail/?group_id=23067 or
http://sourceforge.net/projects/phpmyadmin/ [click on "Lists"]
Finally, an users support forum is also available under:
http://sourceforge.net/forum/forum.php?forum_id=72909
Known bugs
----------
Please subscribe to the news mailing list under
http://lists.sourceforge.net/lists/listinfo/phpmyadmin-news
or regularly check the sourceforge bugs tracker.
Donations
---------
The project accepts donations to help improve the product. There is
a "Donations" link on http://www.phpmyadmin.net.
Description
-----------
(from http://www.phpmyadmin.net/documentation)
phpMyAdmin handles the administration of MySQL over the Web. It
can manage a whole MySQL server as well as a single database.
Currently it can:
* easily browse through databases and tables
* create, copy, rename, alter and drop databases
* create, copy, rename, alter and drop tables
* do table maintenance
* add, edit and drop fields
* execute any SQL-statement, even multiple queries
* create, alter and drop indexes
* load text files into tables
* create (*) and read dumps of tables or databases
* export (*) data to SQL, CSV, XML, Word, Excel, PDF and Latex formats
* administer multiple servers
* manage MySQL users and privileges
* check server settings and runtime information with configuration hints
* check referential integrity in MyISAM tables
* using Query-by-example (QBE), create complex queries automatically
connecting required tables
* create PDF graphics of your Database layout
* search globally in a database or a subset of it
* transform stored data into any format using a set of predefined functions,
like displaying BLOB-data as image or download-link
* support InnoDB tables and foreign keys (see FAQ 3.6)
* support mysqli, the improved MySQL extension (see FAQ 1.17)
* communicate in 50 different languages
(*) phpMyAdmin can compress (Zip, GZip -RFC 1952- or Bzip2 formats)
dumps and CSV exports if you use PHP4 >= 4.0.4 with Zlib support
(--with-zlib) and/or Bzip2 support (--with-bz2).
Authors & Copyright
-------------------
Copyright (C) 1998-2000
Tobias Ratschiller <tobias_at_ratschiller.com>
Copyright (C) 2001-2007
Marc Delisle <Marc.Delisle_at_cegepsherbrooke.qc.ca>
Olivier Müller <om_at_omnis.ch>
Robin Johnson <robbat2_at_users.sourceforge.net>
Alexander M. Turek <me_at_derrabus.de>
Michal Cihar <michal_at_cihar.com>
Garvin Hicking <me_at_supergarv.de>
Sebastian Mendel <cybot_tm_at_users.sourceforge.net>
+ many other people
(check the CREDITS section of our documentation)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to
Free Software Foundation, Inc.,
59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
Marc Delisle / 2007-01-29