[quote author=pkhuba082 link=topic=2009178.msg20006888#msg20006888 date=1499498741]
Hi,
Can anyone help me how to implement this code in Wordpress site?
https://bitcointalk.org/index.php?topic=1211353.0
Thanks
[/quote]
Use this code instead,
[code https://docs.iphub.info/documentation/php-integration/]
$homepage = file_get_contents('http://iphub.info/api.php?ip='.$_SERVER['REMOTE_ADDR'].'&showtype=4');
$vpn = json_decode($homepage, true);
if($vpn['proxy'] == '1')
{
echo " Put MSG Here. ";
}
Put this in your index.php it protects you from most proxies, but it isn't 100% secure.
It basically uses the iphubinfo api, which works quite nicely.
see
https://docs.iphub.info/documentation/php-integration/ for more info and more code/integrations.