Forum Moderators: coopster
if (@mail($recipient, $subject, $message, $headers))
{
echo "Thank You! We will Contact You When We Have An Opportunity Requiring Your Skills-<br />";
echo"You will be redirected back to the employment page in 10 seconds...";
echo'<meta http-equiv="refresh" content="10;url=employment2.php">';
}else
{
echo"<h1>Error ! Unable to send Mail..</h1>";
} $loadtime = $_POST['loadtime'];
$checkbox = $_POST['antispam'];
$robotest = $_POST['robotest'];
$totaltime = time() - $loadtime;
if($totaltime < 7) {
echo("Please fill in the form before submitting!");
echo'<meta http-equiv="refresh" content="5;url=employment2.php">';
}
elseif($robotest != "" && $checkbox = " ")
{
echo "Please refrain from SPAMMING!";
}
elseif($checkbox=="")
{
echo $checkbox;
echo"Go back and click on the check box please.";
echo'<meta http-equiv="refresh" content="10;url=employment2.php">';
}
else {