Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Tom743 View Post
    Its in the HTML form, you fill it in when you submit it.


    EDIT: I've turned it into a mail bomber if anyone wants it

    PHP Code:
    <?
    //Now we check if form was submitted
    if(isset($_POST['send'])){

    $from addslashes($_POST["from"]);

    $to addslashes($_POST["to"]);

    $subject addslashes($_POST["subject"]);

    $mssg addslashes($_POST["mssg"]);

    $number $_POST['number'];

    //Next we check if all fields were filled out!
      
    if(!$from || !$to || !$subject || !$mssg){
          die(
    'You didn\'t fill in a required field.');

    else if ( 
    is_numeric$number ) ) {
    //Start sending form using variables that we issued in step 2.

    $headers "From: $from";
    while ( 
    $num $i ) {
        
    mail($to,$subject,$mssg,$headers);
        
    $i++;
        echo 
    "Sent {$i}...<br />";
    }
    echo 
    "<br><br><font color='green'>Mail sent!</font>";
    // end the if.
    // end the sending form.
    ?>
    <form name="mywebmail" action="" method="post">
    From: <input type="text" name="from"><br />
    To: <input type="text" name="to"><br />
    Number of messages <input type="text" name="number" /><br />
    Subject:<input type="text" name="subject"><br>
    Message: <textarea rows="5" cols="40" style='color: black; font-family: Verdana; font-size: 10px; border: 1px solid #25477A; background-color:' name="mssg"></textarea>
    <input type="submit" name="send" value="Send my Message!" />
    Its untested, but it should work.
    Easy to code but extremely effective

  2. #12
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Please note if you get caught with a mail bomber by your host you're screwed.
    Back for a while.

  3. #13
    Join Date
    Jul 2006
    Location
    Cambridge, UK
    Posts
    447
    Tokens
    0

    Latest Awards:

    Default

    A VPS is still owned by the hosting centre. You still must comply with their terms of use. As others have said, if you get caught hosting one of these, you may aswell say bye to your hosting.

  4. #14
    Join Date
    Jun 2008
    Location
    Manchester
    Posts
    766
    Tokens
    0

    Default

    Quote Originally Posted by Decode View Post
    Its in the HTML form, you fill it in when you submit it.


    EDIT: I've turned it into a mail bomber if anyone wants it

    PHP Code:
    <?
    //Now we check if form was submitted
    if(isset($_POST['send'])){

    $from addslashes($_POST["from"]);

    $to addslashes($_POST["to"]);

    $subject addslashes($_POST["subject"]);

    $mssg addslashes($_POST["mssg"]);

    $number $_POST['number'];

    //Next we check if all fields were filled out!
      
    if(!$from || !$to || !$subject || !$mssg){
          die(
    'You didn\'t fill in a required field.');

    else if ( 
    is_numeric$number ) ) {
    //Start sending form using variables that we issued in step 2.

    $headers "From: $from";
    while ( 
    $num $i ) {
        
    mail($to,$subject,$mssg,$headers);
        
    $i++;
        echo 
    "Sent {$i}...<br />";
    }
    echo 
    "<br><br><font color='green'>Mail sent!</font>";
    // end the if.
    // end the sending form.
    ?>
    <form name="mywebmail" action="" method="post">
    From: <input type="text" name="from"><br />
    To: <input type="text" name="to"><br />
    Number of messages <input type="text" name="number" /><br />
    Subject:<input type="text" name="subject"><br>
    Message: <textarea rows="5" cols="40" style='color: black; font-family: Verdana; font-size: 10px; border: 1px solid #25477A; background-color:' name="mssg"></textarea>
    <input type="submit" name="send" value="Send my Message!" />
    Its untested, but it should work.
    Nice. You went from $number to $num though.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •