server_stats()
function server_stats() {
$server_software_get = getenv('SERVER_SOFTWARE');
$server_software = explode(" ", $server_software_get);
$server_name = getenv('SERVER_NAME');
$gateway_interface = getenv('GATEWAY_INTERFACE');
$server_protocol = getenv('SERVER_PROTOCOL');
$server_port = getenv('SERVER_PORT');
?>
align="center">Server
Statistics
face="Verdana Ref">Server Software:
face="Verdana Ref">
for ($i = 0; $i < count($server_software); $i++) {
echo $server_software[$i];
echo "
";
}
?>
face="Verdana Ref">Server Name:
face="Verdana Ref">
face="Verdana Ref">Server Protocol:
face="Verdana Ref">
face="Verdana Ref">Server Port:
face="Verdana Ref">
face="Verdana Ref">Server CGI Revision:
face="Verdana Ref">
}
?>