note 58489 added to function.mysqli-report
| From: | anthony dot parsons at manx dot net | Date: | Sun, 06 Nov 2005 03:23:04 +0000 |
| Subject: | note 58489 added to function.mysqli-report | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98140@lists.php.net to get a copy of this message | ||
Be very careful using this function - it's a per-process setting.
If your server is set up to reuse a single PHP process for multiple requests, that means the last
setting of this function in any script will affect all other scripts using mysqli.
To be safe always call <? mysqli_report(MYSQLI_REPORT_OFF) ?> at the end of a script. The CGI
version of PHP is probably safe from this.
(Tested using PHP 5.0.5, Apache 2 SAPI module)
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-report.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58489
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58489&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58489&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58489&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58489&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58489&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58489&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58489&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58489&report=yes
Search -- http://master.php.net/manage/user-notes.php