PHP replacing ' and " with \' and \" ..can it be s
Posted: Tue Aug 27, 2002 11:07 am
I've got a message forum on the site I'm making at the moment.
The user adds a message using a standard form.
The message gets saved to a .txt file.
Now, for some reason PHP keeps replacing ' and " symbols with '' and \" ..is there any way to stop this?
I'm using the standard PHP command to strip out any HTML code from the users message.
Any ideas?
The user adds a message using a standard form.
The message gets saved to a .txt file.
Now, for some reason PHP keeps replacing ' and " symbols with '' and \" ..is there any way to stop this?
I'm using the standard PHP command to strip out any HTML code from the users message.
Any ideas?