Bug #11042 Updated: magic_quotes_runtime() value not reality
| From: | yohgaki@php.net | Date: | Fri, 14 Dec 2001 19:56:55 +0000 |
| Subject: | Bug #11042 Updated: magic_quotes_runtime() value not reality | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73826@lists.php.net to get a copy of this message | ||
ID: 11042
Updated by: yohgaki
Reported By: phil@buxtech.com
Old Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Solaris 2.x / 7 / 7
PHP Version: 4.0.5
New Comment:
magic_quotes_runtime() does not exit.
Use set/set_magic_quotes_runtime().
Previous Comments:
------------------------------------------------------------------------
[2001-05-23 01:34:24] phil@buxtech.com
This issue has been duplicated in 4.0.5 and 4.0.4pl1. We've not tried to go further back.
We have several small HTML forms applications that make use of PHPLIB's template feature.
Sometimes when HTML is generated, things are fine. Other times, it's all horked up because
there are back-slashes in the HTML output. We've tracked the root cause of this issue to
PHP's setting of magic_quotes_runtime().
We have it configured for "Off" but sometimes this function value is 1, other times it is
0. We can insert:
print "magic rt = " . magic_quotes_runtime() . "<br>";
into our application ... sometimes we'll see that the value is 1, other times 0. Just clicking
refresh seems to yield a seemly random result.
We've worked around this issue by adding
ini_set("magic_quotes_runtime", 0);
at the top of our code ... but this behavior can't be expected. Or are we missing something?
Thanx for your time in looking into this -- you have a great environment for web programming.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11042&edit=1