I'm not sure that stripslashes() are used for input. addslashes() - to insert data into database stripslashes() - to get data from database and print it.
On 14 Oct 2004 11:19:14 +0200, Christian Jul Jensen <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Ben) writes: > > > Any ideas on dealing with this would be greatly appreciated. > > Disable magic_quotes, and handle all escaping of characters yourself, > I would absolutely prefer that. But beware of sql-injection. > > Leave magic_quotes on, and use stripslashes() on your input. > > -- > Christian Jul Jensen > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php