Location: PHPKode > projects > MyMail Webmail > admin/admin.auth.php
<?php 

#Auth file for MyMail 3.0
#Change these vaules for the simple admin interface


$AUTH['username'] = 'user'; //Change!
$AUTH['password'] = 'open'; //Change!

if (!isset($PHP_AUTH_USER) || !isset($PHP_AUTH_PW)) { 
    header('WWW-Authenticate: Basic realm="MyMail Simple Admin"'); 
    header('HTTP/1.0 401 Unauthorized'); 
    echo '<center>MyMail Administrative Authorization Required!</center>'; 
    exit;
} else {
	if ($PHP_AUTH_USER != $AUTH['username'] || $PHP_AUTH_PW != $AUTH['password']) {
    	header('HTTP/1.0 401 Unauthorized'); 
		header('Location: http://' . $_SERVER['SERVER_NAME'] . '../login.php'); 
		exit;
	}
}

?>
Return current item: MyMail Webmail