> Like all other PHP config directives you can set it in your 
> .htaccess file using:
> php_value magic_quotes_gpc off
> And you are wrong on the \" part.  If magic_quotes_gpc is on and you
> submit a string that contains \" then it will be escaped to \\\" and a
> StripSlashes() will turn it back into \"

Additionally, you can write code that will work under either situation
by querying get_magic_quotes_gpc and get_magic_quotes_runtime to see
which are in effect at any given time.


Jason Murray
Web Developer, Melbourne IT
"Work now, freak later!"

PHP General 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]

Reply via email to