Jump to content


Help again

  • This topic is locked This topic is locked
1 reply to this topic

#1 CalumT

  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 04 May 2006 - 12:18 PM

Hey again,
I'm making a fake emailer for my site, It obviously will have a note at the bottem "This is FAKE email, it was sent using....".

So don't worry.

I cannot get the script to work, though, the PHP for it is this:

                 if(isset($_POST['submit']) && $a == "send"){
    $max= $_POST['237828678966342834424'];
    $subject =addslashes(strip_tags($_POST['subject']));
    $message =addslashes(strip_tags($_POST['message']));
    $totalsent = 0;
    $headers = 'From: ' . $fake . "\r\n" .
    'Reply-To: ' . $fake;
    while($totalsent < $max){
        mail($target, $subject, $message, $headers);
        $totalsent += 1;
        echo("Email sent!");


You can view it in context here: [a href=\"http://calum-land.com/emailer.php\" target=\"_blank\"]http://calum-land.com/emailer.php[/a], note that the amount of emails to send is not activated, I just haven't added the Javascript to tell the user this yet.

Can anyone help?


#2 ober

  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 04 May 2006 - 01:03 PM

Unless there is a really good reason for doing this, and you can PM me with such a reason, this thread is going to be and will stay closed.

Info: PHP Manual

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users