1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
|
<?
$pw=$HTTP_POST_VARS['pw'];
$uname=$HTTP_POST_VARS['uname'];
if($uname=="Test" and $pw=="test"){
$yes ="1";
$job ="Tierarzt";
}
if($yes=="1")
{
session_start ();
$_SESSION["user_name"] =$uname;
$_SESSION["user_job"] =$job;
header("location: intern.php");
}
?>
|