basic-php-12-auth.inc.php / php
<?php session_start(); if (isset(_SESSION['logged'] == 1) { //Do Nothing } else { _SERVER['PHP_SELF']; header("Refresh: 5; URL=login.php?redirect=<br>"; echo "(If your browser doesn't support this, " . "<a href=\"login.php?redirect=redirect\">click here</a>)"; die(); } ?>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.