Location: PHPKode > scripts > php easy :: admin login scripts set > php-easy-admin-login-scripts-set/cookie/demo.php
<?php
/*************************************************************************
php easy :: admin login scripts set - Cookie Version DEMO
==========================================================================
Author:      php easy code, www.phpeasycode.com
Web Site:    http://www.phpeasycode.com
Contact:     hide@address.com
*************************************************************************/
require_once("login.php");

$authuser = $_COOKIE['authuser'];
?>
<html>
<head>
<title>Admin Page</title>
<style type="text/css">
body {
font-family: "Verdana", sans-serif;
font-size: 9pt;
}
</style>
<body>
<div align="center">
<br>
<h1>Admin Page</h1>
<p>Hello <?=$authuser;?>!</p>
<p>You have successfully logged in.</p>
<br>
<p><a href="login.php?logout">Logout</a></p>
</div>
</body>
</html>
Return current item: php easy :: admin login scripts set