Code:
<form action="http://www.domainname.biz/login.php?act=post" method="post" name="loginForm" id="loginForm" onSubmit="return validate()";>
and when the page runs again
Code:
$act=$_GET["act"];
if($act=="post"){
Here some sessions will be set and if all is well then the user will be will be sucessfully