Hi there
I have written a script which captures input from a HTML form and dumps them into a ascii file. However the script has a problem with punctuations such as the "apostrophe" - ' . Eg: "I'm at home." will be replaced with a slash like this: "I\'m at home."
The script and sourcecode are located at http://tune.yi.org/motd/
Gerald
Gerald,
Call stripslashes() on the variable containing the form info you're going to write to ascii file.
http://www.php.net/manual/en/function.stripslashes.php
geoff
Thanks geoff
I've overlooked that portion, got it to stripslashes now with this:
$strip_input = stripslashes($input);