[SOLVED] Finding out what country...

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
simplyjoyfulman
Forum Newbie
Posts: 2
Joined: Thu Jul 29, 2004 1:42 am

Finding out what country...

Post by simplyjoyfulman »

How to make my script find out what country from the visitor who visits my site is ?

I need automatical redirection to language depending on the country the visitor is from.

Thanks for helping. :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

many browsers send (at least in the last few years) the language(s) they accept in their headers.

as for geographic ip information, google found: http://sourceforge.net/projects/geoip/
simplyjoyfulman
Forum Newbie
Posts: 2
Joined: Thu Jul 29, 2004 1:42 am

Post by simplyjoyfulman »

thanks
Post Reply