#26444 [Opn->Bgs]: magic_quotes turned on at random
| From: | iliaa@php.net | Date: | Fri, 28 Nov 2003 12:52:22 +0000 |
| Subject: | #26444 [Opn->Bgs]: magic_quotes turned on at random | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51201@lists.php.net to get a copy of this message | ||
ID: 26444
Updated by: iliaa@php.net
Reported By: joris at ideeel dot nl
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: RH73
PHP Version: Irrelevant
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Dupe of bug #25753
Previous Comments:
------------------------------------------------------------------------
[2003-11-28 05:28:51] joris at ideeel dot nl
Bug HTML output at: http://eenvoortwee.nl/php_wrong.html
Picture at: http://eenvoortwee.nl/php-bug.jpg
Notice that the bar graph pictures do load correctly
------------------------------------------------------------------------
[2003-11-28 03:34:53] joris at ideeel dot nl
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 this bug report at http://bugs.php.net/?id=26444&edit=1