> > On May 30, 2011, at 2:42 AM, David Roth wrote: > What I'm trying to do is get the county code of the user so that different > links can be presented to them that matches their country. Serving up > different links based on the country code would be handled by Javascript. >
I'm not sure why the google library is saying you're in Canada. MaxMind provides a javascript api you can add to your page to get the visitor's location from his/her ip address: http://www.maxmind.com/app/javascript_city
_______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation