A Akka4kz New Member Dec 15, 2005 #1 Hello, please i would want a script that detects the browser,ip and the OS of the user. Thanks,
T Tree Hrm? NLC Dec 15, 2005 #2 PHP: <? echo "IP: ".$_SERVER['REMOTE_ADDR'] ."<br>"; echo "Browser and OS: ".$_SERVER['HTTP_USER_AGENT'] ."<br>"; ?> Should work.
PHP: <? echo "IP: ".$_SERVER['REMOTE_ADDR'] ."<br>"; echo "Browser and OS: ".$_SERVER['HTTP_USER_AGENT'] ."<br>"; ?> Should work.
B Blade1941 Active Member Dec 21, 2005 #3 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: Dec 21, 2005
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 />" %>