This is a piece of code on home.php
<form action="./Login" method="post">
Email Address: <br />
<input type="text" name="username" tabindex="1" /><br />
Password: <br />
<input type="password" name="password" tabindex="2" /><br />
<input type="hidden" name="home" value="yes" />
<div class="options">
<input type="submit" value="" name="LoginCheck" class="submit_n" />
</div>
</form>
On submitting isset($_POST['LoginCheck'])
on login.php
return false.
I usually write the form part & processing part on the same file & then this seems to work correctly. However for this case i.e processing on other page this does not seem to work.
This is probably a minor problem but what am I doing wrong?