[PHP-DEV] Bug #10591 Updated: magic_quotes_runtime being randomly set? From: phpbug <email protected>
Date: 05/15/01

ID: 10591
User Update by: phpbug <email protected>
Status: Critical
Bug Type: PHP options/info functions
Operating system: Progeny GNU/Linux
PHP Version: 4.0 Latest CVS (01/05/2001)
Description: magic_quotes_runtime being randomly set?

updating to today's (4-15-01) CVS fixed it...

Previous Comments:
---------------------------------------------------------------------------

[2001-05-10 09:38:02] zeev <email protected>
Also, has anybody managed to reproduce it? I can't.

---------------------------------------------------------------------------

[2001-05-10 09:27:52] zeev <email protected>
Do you have any settings for magic_quotes_runtime in your httpd.conf or .htaccess files?

---------------------------------------------------------------------------

[2001-05-09 11:12:01] sniper <email protected>
Marked as to be fixed before 4.0.6

---------------------------------------------------------------------------

[2001-05-01 23:07:35] zak <email protected>
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 <email protected>
Damn... misread last comment. Have asked user to send me relevant code. I would guess that something simple to fix on here...

---------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=10591

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>