detect country based on IP test

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bower
Forum Newbie
Posts: 3
Joined: Sat Nov 20, 2010 6:45 am

detect country based on IP test

Post by bower »

I wrote a php program to tells you where are you from according to the IP address.

I am not sure if it works

so please help me

http://www.qiongbupa.com/ipfromtest.php

open the link and to see if it is correct

thanks
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: detect country based on IP test

Post by Celauran »

Worked for me.
bower
Forum Newbie
Posts: 3
Joined: Sat Nov 20, 2010 6:45 am

Re: detect country based on IP test

Post by bower »

Celauran wrote:Worked for me.
Celauran thanks

where are you from?

what the page say?
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: detect country based on IP test

Post by Celauran »

I'm from Canada. It had a link "back to the Blog", my ip, and said "you are from Canada".
bower
Forum Newbie
Posts: 3
Joined: Sat Nov 20, 2010 6:45 am

Re: detect country based on IP test

Post by bower »

Thanks Celauran

you're a very nice person

I know it works in canada
Post Reply