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? Quote 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 Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/102163-solved-finding-region-state/#findComment-523168 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.