0) { $items = file($database, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach($items as $line) { list($username, $password, $email, $name, $active) = explode('|', trim($line)); if ($username == $_POST['username'] && $active != "0" && $password == $crypt_pass) { $found = true; $fullname = $name; } } } if($found == false) { header('Location: '.$error_page); exit; } else { if (session_id() == "") { session_start(); } $_SESSION['username'] = $_POST['username']; $_SESSION['fullname'] = $fullname; $_SESSION['expires_by'] = time() + $session_timeout; $_SESSION['expires_timeout'] = $session_timeout; $rememberme = isset($_POST['rememberme']) ? true : false; if ($rememberme) { setcookie('username', $_POST['username'], time() + 3600*24*30); setcookie('password', $_POST['password'], time() + 3600*24*30); } header('Location: '.$success_page); exit; } } $username = isset($_COOKIE['username']) ? $_COOKIE['username'] : ''; $password = isset($_COOKIE['password']) ? $_COOKIE['password'] : ''; ?> Griotbook.com
GriotBook eStore
Contact Us: (657) 44-GRIOT
https://twitter.com/GriotBook
 
 
 
 
 
 
 
 
 
GRIOTBOOK.COM © 2013-2014      ALL RIGHTS RESERVED            Any Questions or issues about this Website? Contact Us Here
(657) 44-GRIOT
BILLING
AUTHORIZED GRIOT LOGIN
Log In
User Name:
ID Code Key:
 Remember me
 
Forgot password?
Trouble login in?
REQUEST ID CODE KEY
Click Here
GriotBook International LLC Headquarters
CONTACT US
P.O Box 772
Phoenix, AZ 85027
(657) 44-GRIOT   (444-7468)
GRIOT CENTER
CUSTOMER SERVICE
COMPANY INFO
LEGAL STUFF
Protected by Copyscape Original Content Checker
CUSTOMER SUPPORT