'mancat1',
'admin' => 'stiches2',
'jordan' => 'summer22',
'max' => 'mancat1'
'mears' => 'drivevw'
);
// request login? true - show login and password boxes, false - password box only
define('USE_USERNAME', true);
// User will be redirected to this page after logout
define('LOGOUT_URL', 'http://www.example.com/');
// time out after NN minutes of inactivity. Set to 0 to not timeout
define('TIMEOUT_MINUTES', 0);
// This parameter is only useful when TIMEOUT_MINUTES is not zero
// true - timeout time from last activity, false - timeout time from login
define('TIMEOUT_CHECK_ACTIVITY', true);
##################################################################
# SETTINGS END
##################################################################
///////////////////////////////////////////////////////
// do not change code below
///////////////////////////////////////////////////////
// show usage example
if(isset($_GET['help'])) {
die('Include following code into every page you would like to protect, at the very beginning (first line):
<?php include("' . str_replace('\\','\\\\',__FILE__) . '"); ?>');
}
// timeout in seconds
$timeout = (TIMEOUT_MINUTES == 0 ? 0 : time() + TIMEOUT_MINUTES * 60);
// logout?
if(isset($_GET['logout'])) {
setcookie("verify", '', $timeout, '/'); // clear password;
header('Location: ' . LOGOUT_URL);
exit();
}
if(!function_exists('showLoginPasswordProtect')) {
// show login form
function showLoginPasswordProtect($error_msg) {
?>
the content of this awesome div thing appears on a new line,
but unlike a paragraph element or <p>, it doesn't add any padding, it is a generic block-level container this html stuff is crazy. I'm learning everything I know from sitepoint.com and I'm thinking it's the coolest thing ever. But the real truth is that this is the coolest shit ever. Just writing what I want to write how I wanna write it in xhtml. > sometimes i have to use a > symbol. it's greather than using the other stuff that would confuse my browser.
I'm going to see if there's a difference between taking a break and a break
is there? Indeed there is, if you put the slash first, it's like adding spacing, if you put it last, it is just putting you on a new line. nice to know!