I have thus error occuring here:
Undefined index: action in /var/www/thefubaredsite/htdocs/login.php
login.php:
<form name="login" method="POST" action="login.php">
<p><br>
Username:
<input type="text" name="user" id="user">
</p>
<p> Password:
<input type="password" name="pass" id="pass">
</p>
<p align="right">
<input type="submit" name="submit" value="submit">
</p>
</form>
<?php if($_POST['action']=='submit'){
$theSentry->checkLogin($_POST['user'],$_POST['pass'],10,'index.php','login.php?action=error');
}
?>
Where $theSentry is a login check I am using from a tutorial online. I have tried defining ‘action’ to no avail, and note this works in php 5.1.2 but not the latest 5.1.4. Does any one have any ideas here? 