Click to See Complete Forum and Search --> : simple hit counter questions


catchup
11-03-2003, 11:50 AM
on the default page of the site, i'm sending the ip address to an access db:
IPaddress = Request.ServerVariables("REMOTE_ADDR")
[1] not sure if I should be using "REMOTE_HOST" instead?
Then i have another page to view the ip addresses and that page displays them distinct from the db. I'm in canada and i wanted to display the province teh ip came from, well actually i only care about two provinces. I was searching on this and there are some programs and it seems that they provide updates,
[2]is there a list out there of begining IP numbers VS internet access companies? Any ideas on where to look?

I'm hoping to display a tally of the ip addresses and to say whether the hit cam from Manitoba or Ontario or Other.

Thanks and any thought on this would be much apprecieated.
Thanks again!

[3] am i going about this the right way?

PeOfEo
11-03-2003, 04:23 PM
are you using asp or asp.net? You can use remote host for this in theory, but I have fount more often then not that it spits up an ip address too. I have been looking into this trying to resolve host names, just because I want to know how to do it. It might just be the iis I am on but I dono.
About the second thing, I am looking for a list now but I just found this, http://www.iplists.com/ , that can help you see what search engines are spydering you. Back to the topic...
http://www.ip-to-location.com/ check that one out. Thats all I can come up with after some google searching.

catchup
11-03-2003, 05:11 PM
Thanks for the reply i also found those links and others but i keep getting the same issues of its easier to buy the program to do this form me, i'm using straight asp and i have found a hack method to do it and am in the process of finishing it off, I keeping the ip addresses obtained in a db then i have a page.asp that the user can select a week or month to view, and from the populated list box GET the whois information. I'm hoping to possible have another page that will GET this infomation and post to a box in the page.asp the city and province. Currently i'm looking for the field value for the city and province of the whois record. This is a very irresponsible method, but it it the only way i know how to do it for free. I've tried to go about it with perl but i go stuck.

PeOfEo
11-04-2003, 06:46 PM
maybe something will come out of this thread http://forums.webdeveloper.com/showthread.php?s=&threadid=18716 good luck