Unable to record down Country Open stats due to difference in getenv for ip address
Hey Ben,
Found this issue on PHP fog, where by the $ip from getenv() is like this "203.117.233.23, 127.0.0.1"
With that, the geocode function was not able to work properly. I had to remove the part after comma for it to work.
Found this issue on PHP fog, where by the $ip from getenv() is like this "203.117.233.23, 127.0.0.1"
With that, the geocode function was not able to work properly. I had to remove the part after comma for it to work.
This discussion has been closed.
Comments
Does all IPs on PHP fog look like this? With a
, 127.0.0.1
appended at the back?Thanks.
Ben
Thanks.
Ben
The latest update, version 1.1.4 has been released. The above code is included in this update.