I have a site that will have different pricing by world region / country and also offer different currencies.
Presently, the user has to select their country from a select menu and submit the form, but I would like to eliminate this step if possible, and set the country according to their IP address.
I had a quick look at http://www.iptocountry.com but was wondering if there was a way of doing this with PHP functions?
I know its in use on the php.net and google.com sites (when I go to either I get ie.php.net or google.ie) so was wondering if its costly / easy to implement?
You may also want to try this NetGeo interface class.
http://www.phpclasses.org/netgeoclass
--
Regards, Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php