php blank email problem
Posted: Mon Sep 08, 2008 4:17 am
hello there
this is a nooob question i know, but i really am at my wits end!
i have a pice of php (posted below|) that is a basic webform, now it works in firefox, camino ect, but when it goes through internet explorer i just get a blank email from apache???
help!!! im going mental 
any ideas would be appreciated, go to http://www.ameliasbrides.com to see the form in action if it helps
thanks in advance 
i have a pice of php (posted below|) that is a basic webform, now it works in firefox, camino ect, but when it goes through internet explorer i just get a blank email from apache???
Code: Select all
<?
Error_Reporting(E_ALL & ~E_NOTICE);
while ($request = current($_REQUEST)) {
if (key($_REQUEST)!='web@ameliasbrides.com'') {
$pre_array=split ("&777&", $request);
$post_vars[key($_REQUEST)][0]=$pre_array[0];
$post_vars[key($_REQUEST)][1]=$pre_array[1];
}
next($_REQUEST);
}
reset($post_vars);
$subject="From ".$post_vars['your_name'][0] ;
$headers= "From: ".$post_vars['your_email'][0] ."\n";
$headers.='Content-type: text/html; charset=iso-8859-1';
$message='';
while ($mess = current($post_vars)) {
if ((key($post_vars)!="i") && (key($post_vars)!="your_email") && (key($post_vars)!="your_name")) {
$message.="<strong>".$mess[1]."</strong> ".$mess[0]."<br>";
}
next($post_vars);
}
$emailAddress = 'lol@lol.com'; // < your email here
mail($emailAddress, $subject, "
<html>
<head>
<title>Contact letter</title>
</head>
<body>
<br>
".$message."
</body>
</html>" , $headers);
Header( "Location: http://www.ameliasbrides.com" );
?>