I would say, that form names and then $_POST
variables have to have same case - they are case sensitive.
And you are having lowercase names in form and checking uppercase variables in $_POST
As c0mrade pointed out, do
var_dump($_POST);
and it will tell you what variables are really going to your script.
Adam Kiss
2010-02-27 13:47:08