Files
Testing/index-old.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

39 lines
669 B
PHP

<?php
ob_start();
/*if(!$_SERVER['REMOTE_ADDR']=="24.49.135.113"){
header('Location: /maintenance.html');
exit();
}*/
/* $Id: header.php 279 2009-12-14 20:55:12Z john $ */
// PREVENT MULTIPLE INCLUSION
date_default_timezone_set('America/Phoenix');
$sess=session_id();
if(!isset($_COOKIE['age_verification'])&&!isset($_SESSION['age_verification'])){
if(isset($_GET['age_verification'])) {
setcookie('age_verification', '1', time()+2592000);
$_SESSION['age_verification']=1;
}
else{if($sess==""){
header('Location: /verify.php');
exit();
}
};
header("Location: home.php");
exit();
}
/* $Id: index.php 8 2009-01-11 06:02:53Z john $ */
?>