PHP – Show OS, PC and Host Name

The given PHP example shows your Operating System, Computer, and Host name.

Code Example:
echo php_uname('s')."<br />";
echo php_uname('n')."<br />";
echo gethostbyaddr($_SERVER['REMOTE_ADDR']);

Post to Twitter Post to Digg Post to Facebook Post to Google Buzz Send Gmail

Leave a Comment

Your email address will not be published. Required fields are marked *