Location: PHPKode > projects > PHP Enter > www/admin/functions.php
<?php
if (isset($_SESSION['HTTP_USER_AGENT']))
{
if ($_SESSION['HTTP_USER_AGENT'] != md5($_SERVER['HTTP_USER_AGENT']))
{
exit;
}
}
else
{
$_SESSION['HTTP_USER_AGENT'] = md5($_SERVER['HTTP_USER_AGENT']);
}
if(!isset($_SESSION['INC_USER_ID']) || (trim($_SESSION['INC_USER_ID'])=='')) {
include('form.php');
die();
}
?>
Return current item: PHP Enter