On Friday 08 March 2002 13:10, Analysis & Solutions wrote: > On Fri, Mar 08, 2002 at 12:44:30PM +0800, Manisha wrote: > > thanks, you are right, gpc_magic_quotes of php.ini was off. > > Oh, so then in your script, you weren't using the addslashes() function. > > Personally, I prefer *magic_quotes to be off, allowing me to precisely > control what I want to do with the input.
For portability, the best thing to do would be to check what the settings are using get_magic_quotes_gpc(), get_magic_quotes_runtime() or ini_get() and act accordingly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php