Re: Re: policy on magic quotes

From: Date: Tue, 08 Feb 2005 03:00:02 +0000
Subject: Re: Re: policy on magic quotes
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-36028@lists.php.net to get a copy of this message
Alan Knowles wrote:
$var = get_magic_quotes_gpc() ? stripslashes($var) : $var;
Only code that deals directly with $_GET/$_POST etc should do anything like the above. - since most of PEAR is libraries and do not directly deal with this, It does not affect most packages.
FWIW, I agree completely. S

« previous php.pear.dev (#36028) next »