// $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.
Redberry
Collect your thoughts with this minimalist, but powerful Notes / To-Do app. Features include offline support, infinite nesting, search, and sync between devices.
echo date("Y");?> © PWASHOP.COM