| Server IP : 74.208.236.52 / Your IP : 216.73.217.12 Web Server : Apache System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64 User : u44043973 ( 5404757) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/18/d194259149/htdocs/bonus1/admin/ |
Upload File : |
<?php
session_start();
include "../config.php";
include "../header.php";
include "../style.php";
$ID = $_POST['Adminid'];
$Password = $_POST['Password'];
// errorchecking first:
if (empty($Password)) {
echo "Password field is empty, please click your browsers 'back' button.";
exit;
}
if (empty($ID)) {
echo "Admin id field is empty, please click your browsers 'back' button.";
exit;
}
if(($Password != $adminpw) || ($ID != $adminid))
{
echo "Error. Wrong Admin Login.";
exit;
}
else
{
session_register("alogin");
$alogin = true;
//header("Location: index.php");
echo '<META HTTP-EQUIV="Refresh" Content="0;URL=index.php">';
}
include "../footer.php";
?>