Results 1 to 6 of 6

Thread: Blank Form being recieved, Help please?
      
   

  1. #1
    pjskluzacek is offline Corporal
    Join Date
    Feb 2006
    Posts
    19

    Default Blank Form being recieved, Help please?

    We are recieving email that is listed as "New member info" but the email is completely blank. The form has been working perfectly for months but these blank forms started poping up a couple of days ago. The form still works when ever we try it. If you go to our website www.idea-league.org, click join and dont fill out the form but click submit, at least the name of the fields names are sent so where are these completely blank emails with just the title coming from? I used the php page method of submiting a form. Has anyone else ever seen this problem? Thanks!!

    Paul

  2. #2
    pjskluzacek is offline Corporal
    Join Date
    Feb 2006
    Posts
    19

    Default Re: Blank Form being recieved, Help please?

    I shouls add this is the html I used on my php thanks for joining page.
    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "XXXX@idea-league.org";
    $mailsubj = "New Member info";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "New member info:\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    $mailbody .= "$key : $val\n";
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>
    The email is then forwarded by cpanel to the proper people. Thanks again.

    Paul

  3. #3
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: Blank Form being recieved, Help please?

    Paul-

    It is probably just someone hitting submit with out having put anything in it. How many are you receiving? If it is just a couple here and there, don't worry.

    There have been recent exploits of php mailto forms across the internet. I am working on a tutorial to combat this as we speak and anticipate having it done some time this weekend. You can check back and click on the link in my signature for it.

    Please post back and let me know how many you are receiving.

    Andy
    PHP- is a blast!

  4. #4
    pjskluzacek is offline Corporal
    Join Date
    Feb 2006
    Posts
    19

    Default Re: Blank Form being recieved, Help please?

    Thanks Andy,
    I just tried something by accessing the thanks you php page directly and got the exact same message so maybe someone has that address and is accessing it without going through the join us page. Ive been getting lots of them in a row like someone is using the back function.

    Paul

  5. #5
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: Blank Form being recieved, Help please?

    I will be done with the tutorial by morning. Please check back and I will post it here for you.

    While I do not think your form is being hijacked- the fact that you are receiving many is disconcerting. Better yet- I will post a script specific to your form for you to use.

    Andy
    PHP- is a blast!

  6. #6
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: Blank Form being recieved, Help please?

    Paul,

    I did not mean to presume that you would want me to provide you with a script. If you would like the script- e-mail me as I need to know what address to put in the script so that it sends the info to your e-mail.

    keith@netisopen.com

    Andy
    PHP- is a blast!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49