Re: ' --> \\\' Question
| From: | Andy Woolley | Date: | Thu, 11 Oct 2001 16:38:40 +0000 |
| Subject: | Re: ' --> \\\' Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70827@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);
and see what happens
Regards.
Andy.
----- 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
>
>