PHP Spy
By
James Wright


PHP Spy uses PHP to show your IP address, browser, OS (operating system), and ISP (Internet service provider). In addition, if you came to this page my clicking a link, PHP Spy will show the URL of the referring page. The information gathered by PHP Spy can be highly useful when used with a counter to store statistical information about visitors.


'; else echo 'You are using Internet Explorer.
'; } else { if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko')) if (strpos($_SERVER['HTTP_USER_AGENT'], 'Netscape')) echo 'You are using Netscape'; else if (strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox')) echo 'You are using Firefox.
'; else echo 'You are using Mozilla.
'; else if (strpos($_SERVER['HTTP_USER_AGENT'], 'Lynx')) echo 'Lynx
'; else echo 'You are using:', $_SERVER['HTTP_USER_AGENT'],'
'; } ?> '; else if (strpos($_SERVER['HTTP_USER_AGENT'], 'Linux') !== FALSE) echo 'You are using Linux.
'; else if (strpos($_SERVER['HTTP_USER_AGENT'], 'Unix') !== FALSE) echo 'You are using Unix.
'; else if (strpos($_SERVER['HTTP_USER_AGENT'], 'Mac') !== FALSE) echo 'You are using a Mac.
'; else 'You are not using Windows.
'; ?>




SOURCE CODE

spy.php.txt