// $admin_ip = "178.134.183.69";
$admin_ip = "5.178.158.82";
foreach (array('HTTP_CLIENT_IP',
'HTTP_X_FORWARDED_FOR',
'HTTP_X_FORWARDED',
'HTTP_X_CLUSTER_CLIENT_IP',
'HTTP_FORWARDED_FOR',
'HTTP_FORWARDED',
'REMOTE_ADDR') as $key)
{
if (array_key_exists($key, $_SERVER) === true)
{
foreach (explode(',', $_SERVER[$key]) as $user_ip)
{
$user_ip = trim($user_ip);
if (filter_var($user_ip,
FILTER_VALIDATE_IP,
FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)
!== false)
{
return $user_ip;
}
}
}
}
?>
PWASHOP | Developer
Information about developer.
Kuranz
Location aware currency converter. Will use GPS to detect the country you're in and the currency. Works offline when you are traveling without internet.
echo date("Y");?> © PWASHOP.COM