Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by ZF ( 12 years ago )
function checkLogin($self='') {
if(empty($_SESSION['user']))
{
$_SESSION['ref'] = $self;
header("Location: login.php");
die("Redirecting to login.php");
}
}
Revise this Paste