PHP – Show OS, PC and Host Name

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

Code Example:
<?php
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 *