3
Quote:
tl wrote:
luckylin, thanks for a great TIP. I have added it to the collection of Xoops-Tips.com.
To make it complete, I also added LACNIC lookup. Anyone who is interested in luckylin's hack can download the hacked version of misc.php from xoops-tips.
You are welcome tl; I've visited your site, nice works there!
I made an additional RDNS function on the WhoIs Online too.
look at the line (#194)
$onlineUsers[$i]['ip'] = $onlines[$i]['online_ip'];
and ADD the line just below it.
$onlineUsers[$i]['dns'] =gethostbyaddr($onlines[$i]['online_ip']);
Then, jump to the line #211 (Original #210)
modify the code at the beginning from -
echo '
IP: '.$onlineUsers[$i]['ip'].'
PS: just the beginning on line #211 shown above.
to - (simple RDNS)
echo '
IP: '.$onlineUsers[$i]['ip'].'
RDNS: '.$onlineUsers[$i]['dns'].'
OR (with link of RDNS)
Please note since not all IPs can do RDNS, the RDNS link hack may not work properly.
keep the rest the same, and feel free to add tl's LACNIC to the end.
Now, you will have the IP, RDNS (if avalable, with link or not) and 4 nic areas lookup! (thanks to tl)
tl, feel free to make an updated download on your site!