Hi all
I wrote a script for my online form using php
simple yes but this is what im so pissed off at
every day i get a couple of emails from NOBODY and the email is blank
my form works a treat and it does return my potencial clients info
but it sometimes comes back as submited without info
i tryed to get around this by making the fields in my form compulsary , hence you must fill or you dont get to the process page
but this didnt work
well it does but strange as it may seem i still get blank forms submited and there from mr NOBODY again ( nobody is the Email from )
any ways i tryed to get around it again by making the script check its self for fields submited like this
if($firstname=="" || $lastname=="" || $email=="")
{
$errors=1;
$error.="You did not enter one or more of the required fields. Please go back and try again.";}
if($errors==1) echo $error;
else
print bla bla bla
this does stop the average joe from submiting a blank form to me but for some strange reason i still get blank submited forms
any help any one
the form does work
ive tested it on many a pc and on many a diferent browser IE firefox and so on
could it be a spider crawling the form handeler and making it think it is being used then submitting it to me ?
im stumped
ive made a shed load of forms before using my own hand writen php but this is a new problem to me ??

I wrote a script for my online form using php
simple yes but this is what im so pissed off at
every day i get a couple of emails from NOBODY and the email is blank
my form works a treat and it does return my potencial clients info
but it sometimes comes back as submited without info
i tryed to get around this by making the fields in my form compulsary , hence you must fill or you dont get to the process page
but this didnt work
well it does but strange as it may seem i still get blank forms submited and there from mr NOBODY again ( nobody is the Email from )
any ways i tryed to get around it again by making the script check its self for fields submited like this
if($firstname=="" || $lastname=="" || $email=="")
{
$errors=1;
$error.="You did not enter one or more of the required fields. Please go back and try again.";}
if($errors==1) echo $error;
else
print bla bla bla
this does stop the average joe from submiting a blank form to me but for some strange reason i still get blank submited forms
any help any one
the form does work
ive tested it on many a pc and on many a diferent browser IE firefox and so on
could it be a spider crawling the form handeler and making it think it is being used then submitting it to me ?
im stumped
ive made a shed load of forms before using my own hand writen php but this is a new problem to me ??
Last edited: