Ted Varnson
04-08-2004, 07:47 PM
I was wondering if there was a function or command that would stop the following from happening. When a user sends an email through this script I just wrote, the following:
I'm going to run
looks like
I\'m going to run
How can I change this? Here is my php code
<?
$message = $_REQUEST['message'] ;
$subject = $_REQUEST['subject'] ;
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
mail( "aaron@aaronortega.com", $subject, $message, "From: $name, $email" );
header( "Location: http://www.aaronortega.com/thankyou.htm" );
?>
I'm going to run
looks like
I\'m going to run
How can I change this? Here is my php code
<?
$message = $_REQUEST['message'] ;
$subject = $_REQUEST['subject'] ;
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
mail( "aaron@aaronortega.com", $subject, $message, "From: $name, $email" );
header( "Location: http://www.aaronortega.com/thankyou.htm" );
?>