if($login_secret=="101101"){
if(!$new_login){
setcookie("login_secret","101101",time()+604800);
}
$perms=1;
}
else{
$not_auth=$not_auth+1;
setcookie("not_auth","$not_auth",time()+604800);
$perms=0;
}
#server info stuff:
$uptimereturn=exec(uptime);
$systat=explode(",",$uptimereturn);
$systat[0]=trim($systat[0]);
$times=explode(" ",$systat[0]);
global HTTP_SERVER_VARS
$remote_addr = $HTTP_SERVER_VARS["REMOTE_ADDR"];
$remote_agent = $HTTP_SERVER_VARS["HTTP_USER_AGENT"];
$remote_port = $HTTP_SERVER_VARS["REMOTE_PORT"];
#$uptime=implode(",",$times);
#$uptime=str_
virtual("/secondary_head.txt");
print"
|
|
| Local Time: | $times[0] |
| Up Time: | $times[3] $times[4] |
| Uptime Statistics: | View Archive or Most Recent Graph |
| Operating System: | SuSE Linux PPC |
| Architecture: | IBM RS6000 P143 (PPC) |
| Your IP Adress: | $remote_addr |
| Your browser | $remote_agent |
| Your Port | $remote_port |
You are are not logged in. This is a restricted, monitored area which you have tried to access $not_auth times without a successful login.
"; } ?>