I was wondering how to get rid of the slashes after quotation marks when sending email. Here's the script.
<?php
$address = $_POST['address'];
$from = $_POST['fromadd'];
$message = $_POST['message'];
$subject= $_POST['subject'];
if (!get_magic_quotes_gpc()) {
$email = mysql_escape_string($address);
$from = mysql_escape_string($from);
$subject = mysql_escape_string($subject);
$message = mysql_escape_string($message);
}
mail( $address, $subject, $message, "From:$from");
echo "Your mail was successful, Please wait while you are redirected";header("Location: [url]http://dsp.truman.edu[/url] ");
?>
Also I wondered how you could delay the redirection.