zohab Posted September 17, 2009 Share Posted September 17, 2009 Hi, When user visit my site index page i want to detect and store country name into my database. example user1 type http://www.example.com in Denmark then insert into tablename (id,countryname) values('id','countryname') insert into tablename (id,countryname) values('1','Denmark ') user2 type http://www.example.com in USA then insert into tablename (id,countryname) values('2','USA ') user3 type http://www.example.com in India then insert into tablename (id,countryname) values('3','India ') any idea? Link to comment https://forums.phpfreaks.com/topic/174548-solved-detect-and-store-country-name-into-database/ Share on other sites More sharing options...
dreamwest Posted September 17, 2009 Share Posted September 17, 2009 http://j.maxmind.com/app/geoip.js Link to comment https://forums.phpfreaks.com/topic/174548-solved-detect-and-store-country-name-into-database/#findComment-919942 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.