Quote:
|
Originally Posted by k0nr4d
Can't you do like
php_flag magic_quotes_gpc on
in htaccess?
|
http://us3.php.net/magic_quotes
Quote:
|
Originally Posted by Php.net
Magic Quotes is a process that automagically escapes incoming data to the PHP script. It's preferred to code with magic quotes off and to instead escape the data at runtime, as needed.
|
Here's another interesting comment from that page:
Quote:
|
Originally Posted by judas dot iscariote at gmail dot com
Just for the record. this feature has been removed as of PHP6.
now PHP works always like if magic_quotes_gpc Off.
get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false, set_magic_quotes_runtime raises an E_CORE_ERROR.
this is great news, magic_quotes were a big annoyance.
|