Menu

Invalid email address entered

Help
Rand0
2005-04-14
2013-06-03
  • Rand0

    Rand0 - 2005-04-14

    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

     
    • Rand0

      Rand0 - 2005-04-15

      2 days and still no response!  Is the solution that obvious!!??

      Somebody please help!

       
    • Rand0

      Rand0 - 2005-04-15
       
    • germanic42

      germanic42 - 2005-04-16

      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.

       
    • Rand0

      Rand0 - 2005-04-17

      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.'

      ?

       
    • germanic42

      germanic42 - 2005-04-19

      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.

       
    • Rand0

      Rand0 - 2005-05-01

      So, I take it the reason for this is to secure my website?  Thanks, I will look into this.

       
    • Rand0

      Rand0 - 2005-05-01

      I have done it - thanks for the advice!!!

      R

       

Log in to post a comment.