Forum Moderators: coopster

Message Too Old, No Replies

Unexpected "\" in .TXT files

         

inveni0

10:32 pm on Dec 7, 2005 (gmt 0)

10+ Year Member



I have a PHP file that allows users to create .TXT files. The user enters text into a text field, and the PHP file writes the data on submit.

PROBLEM:

When the user uses a " or ', the PHP code inserts a \ infront of it. How do I keep it from doing that?

bcolflesh

10:40 pm on Dec 7, 2005 (gmt 0)