Todd,

>From the PHP manual:

magic_quotes_gpc boolean 
Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes 
are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped 
with a backslash automatically. 

  Note: If the magic_quotes_sybase directive is also ON it will completely override 
magic_quotes_gpc. Having both directives enabled means only single quotes are escaped 
as ''. Double quotes, backslashes and NUL's will remain untouched and unescaped. 

See also get_magic_quotes_gpc() 

Rgds

John

---


I have noticed that an apostrophy is automatically escaped with a "\", 
or at least appears to be if the surfer enters an apostrophy in a text 
field.  Has this always been the case or is there a setting in the 
php.ini file that contols this?

Todd

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

Reply via email to