Ticker

10/recent/ticker-posts

Ad Code

Responsive Advertisement

Cek IP Address dengan PHP

Script :

<?phpif ($_SERVER["HTTP_X_FORWARDED_FOR"]) {    $httpvia = "".$_SERVER["HTTP_VIA"]."";    $pisah = explode(" ", $httpvia);    $muncul = "$pisah[1]";    echo "$muncul ".$_SERVER['REMOTE_ADDR']." ".$_SERVER["HTTP_X_FORWARDED_FOR"]."";    }    else {    $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);    echo "".$_SERVER['REMOTE_ADDR']." ($hostname)";    }?>

Atau Download berbagai Contoh Script Di Sini 

Posting Komentar

0 Komentar