Location: PHPKode > projects > Pointter PHP CMS > pointtercms_package/pointtercms_package/pointtercms/admin/cookiecheck.php
<?php

include '../configset/conn.php';

$account=mysql_query("SELECT * FROM ACheck Where EmailAddress='$_COOKIE[auser]' AND Password='$_COOKIE[apass]'");
$num=mysql_num_rows($account);

if($num!=1)
{
setcookie ("auser","",time()-600);
setcookie ("apass","",time()-600);
unset ($_COOKIE[auser]);
unset ($_COOKIE[apass]);
header("location:index.php");
}


?>
Return current item: Pointter PHP CMS