View Single Post
Old August 28th, 2006, 2:46 PM   #4 (permalink)
MarkRH
Race Surpass
Super #1
 
MarkRH's Avatar
 
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,221 posts
Gave thanks: 18
Thanked 86 times
If you want more details about the server and its environment, you can create a info.php file with the following code:
PHP Code:
<html>
<head>
    <title>PHP Info for <?=$_SERVER['HTTP_HOST']?></title>
</head>
<body>
<h1>PHP Info for <?=$_SERVER['HTTP_HOST']?></h1>
<?php 
$hostname 
gethostbyaddr($_SERVER['REMOTE_ADDR']);
echo 
'Your hostname = '.$hostname."<p>\n";
echo 
'Current Server IP Address: '.$_SERVER['SERVER_ADDR']."<p>\n";
echo 
'Current Server Date/Time: '.date ("l dS of F Y h:i:s A T")."<p>\n";
echo 
'Current Greenwich Mean Time: '.gmdate ("l dS of F Y h:i:s A T")."<p>\n";

phpinfo(); ?>
</body>
</html>
Hope it helps.
MarkRH is offline   Reply With Quote