I have a Submit button on my login page which has " print "<form action=$PHP_SELF METHOD=POST>";" and a submit button "print "<tr><td colspan=\"2\"><font face=\"Arial\" color=\"Black\" size=4><center><input type=submit value='Login'></center></font></td></tr>"".
I have a logic of 'stages', where (empty($stage)) causes the login text boxes to appear, and when $stage=="2" ($stage==2 triggered by a hidden value after the 'Login' button is clicked) it either should redirect or it would say password/username wrong if appropriate.
HOWEVER,
Every time I click on the 'Login' submit button, it says Error 404 page not found, regardless whether the password is correct or not. On my Apache server it does not happen. It seems that ($stage==2) is not going through.
Any ideas why?
Thanks.
