Re: RE: ' --> \\\' Question

From: Date: Thu, 11 Oct 2001 23:08:08 +0000
Subject: Re: RE: ' --> \\\' Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70863@lists.php.net to get a copy of this message
On Fri, 12 Oct 2001, Maxim Maletsky wrote: > > Kirk is right. > > Another fix to it could be simply doing an ini_set(), though I really > recommend you using stripslashes() instead of messing up everything. ini_set() will not work with magic_quotes_gpc regards, Philip Olson > > -----Original Message----- > > From: Boaz Yahav [mailto:berber@netvision.net.il] > > Sent: gioved? 11 ottobre 2001 18.13 > > To: PHP General (E-mail) > > Cc: Andy Woolley (E-mail); Maxim Maletsky (E-mail) > > Subject: ' --> \\\' Question > > > > > > Hi > > > > I have a form that submits some values to a PHP script. > > If there is an error with the input data the script sends the > > data back to the form so the user can fix the info. > > > > If I have a ' in the txt like "ber'ber", the returned string > > is "ber\\\'ber" and if I submit again I get > > "ber\\\\\\\\\\\\\\\'ber". > > > > I don't addslashes anywhere and I'm not really sure this is > > some magic_quotes issue. > > > > Any ideas? > > > > thanks > > > > berber > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#70863) next »