PHP Status

//Written by David Kull 07282008


$remoteip = getenv(‘REMOTE_ADDR’); //~ get ip address of client
$serverip = getenv(‘SERVER_ADDR’);
$servernm = getenv(‘SERVER_NAME’);
$serverht = getenv(‘HTTP_HOST’);
$serverrf = getenv (‘HTTP_REFERER’);

echo (“Serverrf:{$serverrf}:Server Host:{$serverht}:Server Name:{$servernm}:Server IP:{$serverip}:Client IP:{$remoteip}”);

//$serverif = PHPINFO(); // Displays all info

Tags: ,

Leave a Reply

You must be logged in to post a comment.

My Latest Video
Weather forecast in San Bernardino
My Photos on Pond 5
Royalty-Free Stock Video at Pond5
Speedtest 2014 B Mini requires at least version 8 of Flash. Please update your client.
Speed Test
Recent Posts
    Your IP Info