How can I stop this script below, from adding a black slash before the " ' " apostrophe? This is the script I'm using:
<?php
$out = fopen("messages.txt", "a");
// if the file could not be opened for whatever reason, print
// an error message and exit the program
if (!$out) {
print("Could not append to file, please contact [email]webmaster@blah.org[/email]");
exit;
}
// fputs writes output to a file. the syntax is where to write
// followed by what to write
// $name is the contents of the name field in the sample form
// \t represents a tab character and \n represents a new line
fputs($out,"Name: $name\r\n");
fputs($out,"Email: $email\r\n");
fputs($out,"Message: $mess\r\n");
fclose($out);
?>
Thanks for any help,
-- Derrick