Search the Community
Showing results for tags 'ip2location'.
I need to implement the IP2Location service (which redirects a client browser based on IP address location) on a client's CubeCart store. I have setup the separate MySQL database containing the country codes and IP's. I now need to have the PHP code which establishes the IP address location of the visitor and redirects accordingly run on every page in the store. I suspect this could be achieved by putting the PHP code in an include file (.tpl?) and then having this included in the main index template? Can anyone help me out with any suggestions please? Here is the link to the relevant IP2Location knowledgebase article which shows the sample PHP code that needs to run (I have already done the database setup stuff): http://www.ip2locati...-mysql-database