Just a quick note to say that rather than reproducing the functionality of magic_quotes_gpc, it is a better practice to turn magic_quotes_gpc off altogether, and use database-specific escaping functions (like mysql_real_escape_string) which will cover a much wider range of special characters.




.


Bookmarks