krileon wrote: [registeripaddr] works perfectly fine in a Custom HTML field unless you turned off logging of registration IP Address within CB > Configuration > Registration and the user has no IP Address logged to begin with due to this.
Thank you all figured out IP registration. And even more.
Only with this I can not understand why it does not work:
Code:
$jsondata = file_get_contents("http://timezoneapi.io/api/ip/?" . $ip_address . '&token=TOKEN');
$location = file_get_contents('http://freegeoip.net/json/'.$_SERVER['REMOTE_ADDR']);
Why does not respond to "file_get_contents", how to write correctly?