View Full Version : i need the code for an ip and browser tracker??
02-01-2005, 06:49 AM
i no ive seen the code before for a image that displayed the viewers os, browser, ip adress, and system if anyone knows any code please help me im pretty good with html but this has confused me :confused:
02-02-2005, 12:44 PM
Do you own or have a good server? This request could be easily dealt with using PHP or other server-side functions.
02-11-2005, 03:59 PM
i dont have a server but ive deffinetly seen this thing before and it wasin all HTML
02-11-2005, 04:39 PM
i dont have a server but ive deffinetly seen this thing before and it wasin all HTMLNo, it wasn't. HTML doesn't "do" anything so it is simply not possible for HTML to obtain information about a HTTP request. What you saw was some form of server-side process which returned, in its output, a document containing an IP address.
 It should be noted that an IP address found in a request header is not necessarily accurate. Proxies can, and do, alter this information when they forward a request.
02-11-2005, 04:55 PM
You're more than welcome to this PHP code I have on my server though:
$ip = (isset($_SERVER)) ? $_SERVER['REMOTE_ADDR'] : $HTTP_SERVER_VARS['REMOTE_ADDR'];
$host = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$CurrentDate = date("m-d-Y h:ia");
$user = (empty($_REQUEST['name'])) ? '' : $_REQUEST['name'];
echo('<br><b>Access Time</b> : '.$CurrentDate.'<br><b>User / IP</b> : '.$user.' '.$ip.'<a href="http://lookup.ws/whois/show_whois.php?domain='.$ip.'"> (whois)</a><br><b>Referred by</b> : <a href='.$Ref.' >'.$Ref.'</a><br><b>Browser </b>: '.$Bro.'<br><b>Remote Host [if avaliable] </b>: '.$host. "<br /><br>\n");
If it's of any use.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.