tedd wrote:
>> I think you want to look for magic_quotes_gpc
>> -- 
>> Thanks!
>> -Shawn
> -Shawn:
> You were right.
> I'll fix it.
> Thanks,
> tedd

I normally have a prep4display() and prep4store() type function that do
all of the sensitization/prep for either storing or displaying.  So
prep4display() has a check for magic_quotes_gpc for which it does
stripslashes() if they are on and then htmlentities() etc.. and the
prep4store() can do mysql_real_escape_string() and whatever else.


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

Reply via email to