zangerbanger
06-14-2003, 06:26 PM
When I make my e-mail form and click send, I get an error message that says:
Warning: Cannot modify header information - headers already sent by (output started at /home/eternald/public_html/jordan/sendmail.php:8) in /home/eternald/public_html/jordan/sendmail.php on line 9
So how do I fix this? What is header information? Is there something wrong with my code?
<?
$name = $_REQUEST['name'] ;
$ask = $_REQUEST['ask'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "artemecion@hotmail.com", "This is a message delivered from your website.",
$name, $ask, $message, "From: $email" );
header( "Location: thankyou.php" );
?>
Warning: Cannot modify header information - headers already sent by (output started at /home/eternald/public_html/jordan/sendmail.php:8) in /home/eternald/public_html/jordan/sendmail.php on line 9
So how do I fix this? What is header information? Is there something wrong with my code?
<?
$name = $_REQUEST['name'] ;
$ask = $_REQUEST['ask'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "artemecion@hotmail.com", "This is a message delivered from your website.",
$name, $ask, $message, "From: $email" );
header( "Location: thankyou.php" );
?>