Sasa Posted May 3, 2006 Report Share Posted May 3, 2006 nestraadaa shitais: $user='root'; $pass='root'; if(isset($_POST['$user']) && isset($_POST['$pass'])){ //user un pass check if($_POST['$user']==$user && $_POST['$pass']==$pass){ $_SESSION['log_me_in'] = true; header("Location: main_admin_mod.php"); } else { echo "<font face=Verdana size=1 color=red>You dont have access permissions!</font>"; } } Link to comment Share on other sites More sharing options...
Roze Posted May 3, 2006 Report Share Posted May 3, 2006 $_POST['$user'] vietā $_POST['user'] un $_POST['$pass'] vietā $_POST['pass'] Link to comment Share on other sites More sharing options...
Recommended Posts