Jump to content
php.lv forumi

ielogoshanas nestraadaa!


Sasa

Recommended Posts

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

×
×
  • Create New...