27 |
* |
* |
28 |
***************************************************************************/ |
***************************************************************************/ |
29 |
|
|
|
echo "balh"; |
|
|
|
|
30 |
$login_success = login($_POST["username"], md5($_POST["password"])); |
$login_success = login($_POST["username"], md5($_POST["password"])); |
31 |
|
|
32 |
if ($login_success ) { |
if ($login_success) { |
33 |
|
|
34 |
session_start(); |
session_start(); |
35 |
$_SESSION["logged_in"] = $_POST["username"]; |
$_SESSION["logged_in"] = $_POST["username"]; |
36 |
|
|
37 |
header("location:http://" . $opt_server . $opt_loc_path . "index.php"); |
header("location:http://" . $opt_server . $opt_loc_path . "index.php?page=front"); |
38 |
|
|
39 |
} else { |
} else { |
40 |
|
|