| dfsg dfgdf g dfsg \"sfdg sfdg adff da\" avfdscewsc a.
Becomes:
dfsg dfgdf g dfsg \\
Here's essentially what I'm trying to do:
User has a <textarea> field to enter text into. This text is written to a file (with fopen, fwrite).
But you can see what happens with double quotes above (addslashes wasn't used at this time) |