/* Here is that include file code */ ?>
if(!$login_cookie)
header("Location: ./login.php");
if($phpcoders) {
mysql_connect() or die ("Whoops");
$user = explode(" ","$login_cookie");
$sql = "select * from login where username='$user[0]'";
$r = mysql_db_query("reg_users",$sql);
if(!mysql_num_rows($r)) {
header("Location: ./login.php");
mysql_free_result($r);
}
$chkusr = mysql_fetch_array($r);
mysql_free_result($r);
if(unserialize($user[1]) != $chkusr[1])
header("Location: ./login.php");
}
?>