I am having the same problem. I am a first time user. I followed instructions, setup the page with a mySQL back-end which tested successfully yet, I cannot submit the form. I get the following error:
The following errors occured while processing your form input.
* Invalid email address entered
The relavant code from the process.php page is:
if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$email)){
$error.="<li>Invalid email address entered";
$errors=1;
}
if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$emaillists)){
$error.="<li>Invalid email address entered";
$errors=1;
}
Anyone please explain what is going on?
Thanks,
Rand0
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I read this right you have the phpformgenorator program in the "forms" folder. The form you created is in a directory, "Quoteform", which is still in the forms folder. You should take the Quoteform directory, which contains the form out of that folder and place it as a folder under your main folder, "public_html".
I am having the same problem. I am a first time user. I followed instructions, setup the page with a mySQL back-end which tested successfully yet, I cannot submit the form. I get the following error:
The following errors occured while processing your form input.
* Invalid email address entered
The relavant code from the process.php page is:
if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$email)){
$error.="<li>Invalid email address entered";
$errors=1;
}
if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$emaillists)){
$error.="<li>Invalid email address entered";
$errors=1;
}
Anyone please explain what is going on?
Thanks,
Rand0
2 days and still no response! Is the solution that obvious!!??
Somebody please help!
here is the link:
http://www.emico-it.com/forms/use/QuoteForm/form1.html
I sent you a test message. After submitting I "went" to the thanks page (which wasn't there). No error occured.
Did it go through to you?
Also you should remove the form directory (Quoteform) from the formgenorator (forms) directory.
Thanks for your response.
The form works now since I changed permissions on it. What do you mean by:
'Also you should remove the form directory (Quoteform) from the formgenorator (forms) directory.'
?
If I read this right you have the phpformgenorator program in the "forms" folder. The form you created is in a directory, "Quoteform", which is still in the forms folder. You should take the Quoteform directory, which contains the form out of that folder and place it as a folder under your main folder, "public_html".
In other words you now have for your form:
http://www.emico-it.com/forms/use/QuoteForm/form1.html
After moving it the address would be:
http://www.emico-it.com/QuoteForm/form1.html
After doing that you should password lock the "forms" folder so no one can create a form on your site without a password.
So, I take it the reason for this is to secure my website? Thanks, I will look into this.
I have done it - thanks for the advice!!!
R