Set this:

in your php.ini

or use stripslashes on all your data.

-Jason Garber

At 02:58 AM 1/30/2002 +0000, Jon wrote:
>Okay, I'm trying to read in a form with " and ' in it. The problem is that
>PHP automatically changes these to \" and \' without asking :( If I read in
>a file with " or ' in, it's fine and outputting to the screen is no problem.
>It's only when I read in from a form that a problem appears. All I want to
>do is read from my form and write it into a normal text file. If anyone's
>got any ideas how to solve this, feel free to mail me... Cheers!
>PHP General Mailing List (
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to