• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net

Browser/Ip/OS Detector

PHP:
<?
echo "IP: ".$_SERVER['REMOTE_ADDR'] ."<br>";
echo "Browser and OS: ".$_SERVER['HTTP_USER_AGENT'] ."<br>";
?>

Should work.
 
Good and effective way to do it in ASP:

<%
Dim IpAddress, Browser

IpAddress = Request.ServerVariables("REMOTE_ADDR")
Browser = Request.ServerVariables("HTTP_USER_AGENT")

Response.Write "IP: " & IpAddress & "<br />"
Response.Write "Browser and OS: " & Browser & "<br />"
%>
 
Last edited:
Back
Top