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

From: Date: Thu, 11 Oct 2001 16:52:17 +0000
Subject: Re: Re: ' --> \\\' Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70828@lists.php.net to get a copy of this message
> It must be magic quotes, I'm sure you can turn these off inside a php page. > > try : set_magic_quotes_runtime(0); you can't, _runtime and _gpc do not affect one another. ini_set() won't work either, .htaccess is possible. regards, Philip Olson p.s. magic quotes are evil. > ----- Original Message ----- > From: "Boaz Yahav" <berber@netvision.net.il> > To: "PHP General (E-mail)" <php-general@lists.php.net> > Cc: "Andy Woolley (E-mail)" <andy@milonic.com>; "Maxim Maletsky > (E-mail)" > <maxim@phpbeginner.com> > Sent: Thursday, October 11, 2001 5:13 PM > 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 (#70828) next »