Re: Slashed being added..

From: Date: Wed, 15 Jan 2003 17:21:40 +0000
Subject: Re: Slashed being added..
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-24880@lists.php.net to get a copy of this message
On Thursday 16 January 2003 01:15, Richard Allinson wrote: > stripcslashes (string str) > > Ric > > -----Original Message----- > From: Aaron Wolski [mailto:aaronjw@martekbiz.com] > Sent: 15 January 2003 16:38 > To: php-db@lists.php.net > Subject: [PHP-DB] Slashed being added.. > > > Hi All.. > > Quick q here as I cannot remember how to prevent this. > > Customer is entering their name in a form that get submitted. > > Their name is: Mike O'Neill > > But their name is being entered like: Mike O\\\\\\\'Neill > > This is causing his info not to be saved. How do I prevent this? > > Any thoughts? Check out the magic_quotes options in php.ini. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Don't SANFORIZE me!! */

« previous php.db (#24880) next »