Hi Nathan,

Friday, June 8, 2007, 9:47:22 PM, you wrote:

> I have a php script that gets a url from a GET query parameter.  I have
> been running this script on PHP 5.2.2 on Ubuntu Linux, and everything 
> works as expected.  I have just installed PHP 5.2.3 on OS X via 
> MacPorts, and the same query parameter url has any single quote 
> characters escaped with a backslash when I retrieve it from $_REQUEST.


> As you can see, in OS X the url acquires a the backslashes, which I 
> would like to avoid.

> I am not much of a PHP programmer at this point--it is a brand new 
> language for me, so I don't really now how to investigate this.  Is 
> there a PHP configuration option I can look at?

Sure.. look at the magic_quotes_gpc setting:



Zend Certified Engineer

"Never trust a computer you can't throw out of a window"

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to