RE: ' --> \\\' Question
| From: | Maxim Maletsky | Date: | Thu, 11 Oct 2001 23:00:26 +0000 |
| Subject: | RE: ' --> \\\' Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70862@lists.php.net to get a copy of this message | ||
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.
Maxim Maletsky
www.PHPBeginner.com
> -----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
>
>
>