Bug #10591 Updated: magic_quotes_runtime being randomly set?
| From: | zeev@php.net | Date: | Thu, 10 May 2001 13:38:02 +0000 |
| Subject: | Bug #10591 Updated: magic_quotes_runtime being randomly set? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54689@lists.php.net to get a copy of this message | ||
ID: 10591
Updated by: zeev
Reported By: phpbug@samrowe.com
Status: Critical
Bug Type: PHP options/info functions
Operating system:
PHP Version: 4.0 Latest CVS (01/05/2001)
Assigned To:
Comments:
Also, has anybody managed to reproduce it? I can't.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-10 09:27:52] zeev@php.net
Do you have any settings for magic_quotes_runtime in your httpd.conf or .htaccess files?
---------------------------------------------------------------------------
[2001-05-09 11:12:01] sniper@php.net
Marked as to be fixed before 4.0.6
---------------------------------------------------------------------------
[2001-05-01 23:07:35] zak@php.net
Hmmm... maybe we do have a bug here...
There are no calls to magic_quotes_runtime().
There are no includes, requires or auto_(pre|ap)pend_files.
The php.ini files and apache conf files don't set magic_quotes_runtime.
And there are no other scripts on the box that call magic_quotes_runtime() or set_ini
('magic_quotes_runtime', 'On');
So, right now it does seem that magic_quotes_runtime does to randomly turn on and off.
Calls to get_magic_quotes_runtime() accurately report whether magic_quotes_runtime is active, while
phpinfo() reports that magic_quotes_runtime is off - both locally and the master value.
Initial reports indicated that the bug may have been related to file(), however, the problem can be
reproduced using fopen() as well - see http://airbag.tss.peachnet.edu/~sam/fopen.php
and http://airbag.tss.peachnet.edu/~sam/fopen.txt.
Anyone have any ideas here - I am coming up blank.
---------------------------------------------------------------------------
[2001-05-01 21:19:23] zak@php.net
Damn... misread last comment. Have asked user to send me relevant code. I would guess that
something simple to fix on here...
---------------------------------------------------------------------------
[2001-05-01 21:05:19] phpbug@samrowe.com
Semi-randomly?
There are no odd lines in my php.ini...
I need this to work for my app! :)
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10591&edit=2