I need some help trying to caprure IP addresses and Remote host addresses into my database! For people registering and logging on to site and message board.
I think I have the code correct as I can see the IP and remote host if I put out to a page however when trying to put into a database table it just simply doesn't work!!!
In asp use Request.ServerVariables("HTTP_REFERER") for the url, and Request.ServerVariables("REMOTE_ADDR") for the IP. This works in most cases, although some proxy servers will cause incorrect results.