From:             joris at ideeel dot nl
Operating system: RH73
PHP version:      Irrelevant
PHP Bug Type:     *Configuration Issues
Bug description:  magic_quotes turned on at random

Description:
------------
Using PHP4.1.2-7.3.6 (standard RH73). 
Magic_quotes seems to turn on at random, displaying \" in the output
instead of ". Reloading the page switches this behaviour between correct
and wrong output at random. There is no pattern and sometimes the problem
does not appear for hours. Restarting httpd sets PHP pages back to correct
output for about 1 hour. We experience the problem with PHPsysinfo and
PHPNuke, but not with PHPmyadmin, Squirrelmail or phpBB. I've recompiled
PHP without enable_magic_quotes but this does not help. I've added a check
for the setting of the magic_quotes variable but this always returns 0,
even though slashed quotes are present in the page. PHPinfo can be viewed
on http://eenvoortwee.nl/. 
Upgrading to PHP4.2+ is not really an option unless absolutely necessary
(production machine). PHPsysinfo output can be viewed on
http://eenvoortwee.nl/si/


Reproduce code:
---------------
http://eenvoortwee.nl/si/
as mentioned; the problem is displayed at random and my not be visible
every time.

Expected result:
----------------
SNIP
<td width="15" height="15" 
SNIP

Actual result:
--------------
SNIP
<td width=\"15\" height=\"15\" 
SNIP

-- 
Edit bug report at http://bugs.php.net/?id=26444&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26444&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26444&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26444&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26444&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26444&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26444&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26444&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26444&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26444&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26444&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26444&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26444&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26444&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26444&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26444&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26444&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26444&r=float

Reply via email to