Your IP : 216.73.216.39


Current Path : /home/wirbesti/unwaehlbar.ch/
Upload File :
Current File : /home/wirbesti/unwaehlbar.ch/ip.php

<?php

function getIPAddress()
{
    //whether ip is from the share internet
    if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
        $ip = $_SERVER['HTTP_CLIENT_IP'];
    } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
        //whether ip is from the proxy
        $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
    } else {  //whether ip is from the remote address
        $ip = $_SERVER['REMOTE_ADDR'];
    }
    return $ip;
}
 ?>