Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to check the region by ip in ASP ?

0 views
Skip to first unread message

Eccles Kwong

unread,
Jan 4, 2001, 11:25:52 PM1/4/01
to
Hi there ,

I have a question on ASP . How can I check the IP address's region ? Is it
possible ? Thx .

Eccles

Peter

unread,
Jan 5, 2001, 3:13:41 AM1/5/01
to

I can tell you how to do it in PHP.

It is of little use for 97.3% of what people use it for.

A 14 year old first time surfer from New Zealand might use AOL.. The
IP address you get will be AOL's proxy server in USA.

That 19 year old tall slim beautiful blond chic contacting you from a
California address might be a 250lb 40 year old male transvestite
working in the Wellington New Zealand branch of a multinational
company with headquarters (and their proxy server) in California.

(I visited Wellington once and the locals showed me a corner full of
transvestites far worse that 250 lb.)

One of my sites gets Korean visitors connected to the Internet
backbone at uunet in the USA.

If you still want to look up someone's country from ASP, go to the IIS
management panel and turn on domain name reverse lookup. It used to be
in a really odd place under a title that makes no sense to anyone with
Internet experience. Once on, ASP copies PHP (and other scripting
languages) and gives you the domain name as a field.

Domain name reverse lookup costs time and slows down your server.
Luckily well designed software caches the name and reuses the lookup.
I do not know what IIS does.

http://www.helpnet.com.au/php/

0 new messages