| Programming C# C++ (7) Delphi (617) Java (8) JavaScript (31) perl (9) php (4) GTK (2) VBScript (1) Visual Basic (1) |
Form data is always escaped with a backslash
Question:
I am posting a form with text fields to a php script and it appears that when I read out the fields using How can I turn that off? Answer: The original (\ escaped) version is actually useful if you need to insert the data into a database. However, for display purposes or to write it to a text file, you'll better do without them. You can either change the setting of magic_quotes, see detailed information here:
.. or, if you do not have access to that file (or do not want to change it), then you can call
Comments:
| |||||||||