public function phone_ip(){
$ip = getenv('REMOTE_ADDR');
$ip_p = getenv('HTTP_X_FORWARDED_FOR');
if(($ip_p != "")&&($ip_p != "unknown"))
{
$ip = $ip_p;
}
return $ip;
}
public function phone_ip(){
$ip = getenv('REMOTE_ADDR');
$ip_p = getenv('HTTP_X_FORWARDED_FOR');
if(($ip_p != "")&&($ip_p != "unknown"))
{
$ip = $ip_p;
}
return $ip;
}