PHP does *not* do the addslashes on $_POST when you cram something into it in 
your PHP code.



It does it during the process of auto-filling up $_POST.



So either:

A) you have magic_quotes_runtime turned on LOCALLY. Use phpinfo() to see.

B) you actually managed to put the backslashes into your text file.



PS

You really shouldn't be cramming data into $_POST, imho.

Too confusing for later development/maintenance.

$_POST should be "read only"

Copy the parts of $_POST you want into something else, and add in your file 
contents as well.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to