[FilterScript] GetPlayerHost
#8

PHP код:
<?php
    $userip 
$_GET['IP'];
    
$hostname gethostbyaddr($userip);
    echo 
$hostname;
?>
That's the only thing required

@ Still trying to find a solution for those that DNS can't be found. So its returning their IP
Reply


Messages In This Thread
GetPlayerHost - by [L3th4l] - 15.08.2011, 09:36
Re: GetPlayerHost - by DeadAhead - 15.08.2011, 10:27
Re: GetPlayerHost - by Darnell - 15.08.2011, 10:29
Re: GetPlayerHost - by Raimis_R - 15.08.2011, 13:26
Re: GetPlayerHost - by dud - 15.08.2011, 13:31
Re: GetPlayerHost - by [L3th4l] - 15.08.2011, 13:39
Re: GetPlayerHost - by DRIFT_HUNTER - 15.08.2011, 13:59
Re: GetPlayerHost - by [L3th4l] - 15.08.2011, 14:08
Re: GetPlayerHost - by TouR - 15.08.2011, 14:14
Re: GetPlayerHost - by Gigi-The-Beast - 15.08.2011, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)