djpic Posted April 21, 2008 Share Posted April 21, 2008 I just intalled GeoIP in apache server. I was wondering if there is any way that I can find out what state, provence or city a particular IP address is from in PHP. Is there a simple way such as GeoIP where I can just type: apache_note("USER_STATE") or something of that nature? Link to comment https://forums.phpfreaks.com/topic/102163-solved-finding-region-state/ Share on other sites More sharing options...
Zhadus Posted April 21, 2008 Share Posted April 21, 2008 MaxMind makes a GeoIP PHP Module/API. That would probably have everything you're looking for Link to comment https://forums.phpfreaks.com/topic/102163-solved-finding-region-state/#findComment-522927 Share on other sites More sharing options...
djpic Posted April 21, 2008 Author Share Posted April 21, 2008 I have already looked at that. They don't have a option for state, at least I didn't see one. Link to comment https://forums.phpfreaks.com/topic/102163-solved-finding-region-state/#findComment-522986 Share on other sites More sharing options...
djpic Posted April 21, 2008 Author Share Posted April 21, 2008 Ok, I was able to find the way to do it. I am using GeoIPLite and their PHP module. Couldn't get the apache model to work. Link to comment https://forums.phpfreaks.com/topic/102163-solved-finding-region-state/#findComment-523168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.