ID: 11042 Updated by: yohgaki Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- 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]