PDA

View Full Version : Ip Address


spechackers
12-28-2005, 09:22 AM
Can I get IP address of all countries.

Is it possible,

Jan
12-28-2005, 10:12 AM
That is just about impossible :) Why do you want it?

spechackers
12-29-2005, 09:24 AM
i am making an script where i want to welcome the user according to their IP address.

Scott
12-29-2005, 10:49 AM
You could resolve the ip to get the hostname, which might include a country code (such as .ca, .uk, etc). You could find a list of these pretty easily and compare them to that. I think there are other ways to do what you're after, but that's the only one I know.