Jay Blanchard wrote:
> [snip]
>> 1. Turn magic_quotes OFF -- it's just a PITA anyway.
> 
> if magic_quotes_gpc is on in the php.ini and you don;t have the
> access to change this then you have a problem if your code doesn't do
> something to counter it.
> [/snip]

by the time your script can call an ini_set() on magic_quotes_gpc
the magic quoting will have occurred. so that doesn't help.
note that values set via ini_set() are only valid for the current request.

my point about not having access to change the value referred to
not being able to change php.ini or override the value in a .htaccess

> 
> http://www.php.net/ini_set
> http://www.php.net/manual/en/ini.php#ini.list
> 
> 

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

Reply via email to