ALFA-FOXTROT has a great hack, modify two files you are set.
https://xoops.org/modules/newbb/viewtopic.php?topic_id=31752&forum=20&post_id=138710#forumpost138710
plz do search next time!
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.
$onlineUsers[$i]['ip'] = $onlines[$i]['online_ip'];
$onlineUsers[$i]['dns'] =gethostbyaddr($onlines[$i]['online_ip']);
echo '<br />IP: '.$onlineUsers[$i]['ip'].' <br />
echo '<br />IP: '.$onlineUsers[$i]['ip'].' <br />RDNS: '.$onlineUsers[$i]['dns'].' <br />
echo '<br />IP: '.$onlineUsers[$i]['ip'].' <br />RDNS: <a href=http://'.$onlineUsers[$i]['dns'].' target=rdns>'.$onlineUsers[$i]['dns'].'</a> <br />
echo '<br />('.$onlineUsers[$i]['ip'].')';
echo '<br />IP: '.$onlineUsers[$i]['ip'].' <br />
<a href=http://ws.arin.net/cgi-bin/whois.pl?queryinput='.$onlineUsers[$i]['ip'].' target=ip1 />ARIN</a>
<a href=http://www.apnic.net/apnic-bin/whois.pl?searchtext='.$onlineUsers[$i]['ip'].' target=ip2 />APNIC</a>
<a href=http://www.ripe.net/perl/whois/?form_type=simple&searchtext='.$onlineUsers[$i]['ip'].' target=ip3 />RIPE</a>';
include XOOPS_ROOT_PATH."/header.php";
$part = new MyGuestbookSystem();
$start=$_GET['start'];
if (! isset($start)){
$start=0;
}
- CODE -
if (sizeof($uploadedFilesArray) > 0) {
$resultArray = acceptFiles($uploadedFilesArray, $application_tempdir);
$acceptedFilesArray = getResult($resultArray);
$body = "Files have been uploaded to the FTP Server through Net2FTP by " .$net2ftp_username . " File - " .$resultArray . ".";
$from = "FTP Server <ftp_admin@doamin.com>";
$subject = "Notification: File(s) Uplaoded to FTP Server";
mail('to_email@domain.com', $subject, $body, "From: $from");
Files have been uploaded to the FTP Server through Net2FTP by File - Array.
1) Open index.php in your guestbook folder;
2) Before "include "./header.php";" (at the very beginning!), add that :$start=$_GET['start'];
..