Re: magic quotes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phil Princely wrote:
What do people on this list usually do with this kind of problem. To
me, the .htaccess seems the easiest solution, since I don't have to
change any scripts.

I would certainly turn it off in php.ini or apache config files if possible (the .htaccess line should be "php_flag magic_quotes_gpc off" by the way). However, if you end up doing it at runtime, then it's best to use Environment/magic_quotes_gpc_off.php in PHP_Compat. magic_quotes_gpc has been very inconsistent between PHP versions so a generic stripslashes_array() function is unwise.

Arpad

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux