Page 2 of 2

Posted: Wed Feb 07, 2007 10:40 am
by mccannio
the email address is fine. and the code was working perfectly yesterday but i cannot understand why it is not working now :(

Posted: Wed Feb 07, 2007 10:51 am
by volka
mccannio wrote:the email address is fine.
If I enter foo@bar into the form your script accepts the address but it's not "fine".

Posted: Wed Feb 07, 2007 10:58 am
by mccannio
do you mean is the email address working?

Posted: Wed Feb 07, 2007 1:22 pm
by RobertGonzalez
You are not checking to make sure there is actually posted data. When you reference $_POST and there is no $_POST array information, you are going to get errors.

Before any of the other stuff, and before you try assigning vars from the POST array, try a var_dump($_POST) to see what your app is seeing.