ID: 10591
Updated by: zak
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: PHP options/info functions
PHP Version: 4.0 Latest CVS (01/05/2001)
Assigned To:
Comments:
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.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-01 21:19:23] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
Semi-randomly?
There are no odd lines in my php.ini...
I need this to work for my app! :)
---------------------------------------------------------------------------
[2001-05-01 20:54:05] [EMAIL PROTECTED]
The php.ini parser may behave strangely when presented with broken lines,
semi-randomly turning features on and off.
IMHO not a giant issue - if I get a chance, I will take a closer look at it.
---------------------------------------------------------------------------
[2001-05-01 20:36:08] [EMAIL PROTECTED]
yea, lost a line break in there... it's as it should be in
the php.ini. Sorry about that.
---------------------------------------------------------------------------
[2001-05-01 20:25:18] [EMAIL PROTECTED]
If this:
; Magic quotes for runtime-generated data, e.g. data from
SQL, from exec(), etc.magic_quotes_runtime = Off
is literal, it should be:
; Magic quotes for runtime-generated data, e.g. data from
SQL, from exec(), etc.
magic_quotes_runtime = Off
---------------------------------------------------------------------------
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]