Results returned based on IP of server, not IP of user. Any clues?

166 views
Skip to first unread message

Darrell Bedford

unread,
Apr 5, 2020, 5:47:56 AM4/5/20
to geoPlugin
Hi,

At some point everything worked, delivering location results based on where my site visitor was.

Recently I realized that everyone was being served data like they were somewhere else. I've come to realize that the IP echoed by echo file_get_contents("http://www.geoplugin.com/ip.php"); is where we are getting results from. Not the users computer.

Any ideas as to why and how I can fix?

Thanks
Reply all
Reply to author
Forward
0 new messages