Give help. Get help.

  • # January 1, 2009 at 8:21 am

    Hey everyone,

    I have a php script that I use for forms to email, it works well and it does roughly what I want it to do.

    however, I have put a javascript file on to my form pages, to try and force people to fill in the forms, before the details are processed by the php. My problem is robots…… they seem to be able to bypass this check, and go straight into the php file and I get emails from nothing with the details blank.

    Checking the headers these emails do not seem to come from anyone.

    so my question is this:

    I want to add a bit more of a catch, that checks the $email variable would this be enough?:

    if($email == “”) {
    print ““;

    I am adding this after the body has been populated so that the email variable should have been assigned.

    I am asking as I am not really up with php, I can slowly get by with enough checking from google and the likes, but I can’t seem to find what I am looking for.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.