jrobles Posted February 1, 2010 Share Posted February 1, 2010 Does anyone know how I can grab the state where a user came from? I need to grab this because I need to have users from one state view the site differently than visitors from another state. Link to comment https://forums.phpfreaks.com/topic/190554-tracking-visitor-statefl-tx-ny-etc/ Share on other sites More sharing options...
Jezza Posted February 1, 2010 Share Posted February 1, 2010 Sounds good, I think the only way to guess someone's location in the world is through IP, as far as I understand certain places have certain IPs, all you should need is a database or code that knows which IP range is from where, but I'm not sure if IPs can go as specific as countries. Link to comment https://forums.phpfreaks.com/topic/190554-tracking-visitor-statefl-tx-ny-etc/#findComment-1005044 Share on other sites More sharing options...
jrobles Posted February 2, 2010 Author Share Posted February 2, 2010 thanks, i have been looking for IP ranges for specific states but cant seem to find a reliable list online Link to comment https://forums.phpfreaks.com/topic/190554-tracking-visitor-statefl-tx-ny-etc/#findComment-1005642 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.