View Thread
All MODs and their Supported Threads goes here in this Section.
 Print Thread
[MOD]Profile.php click ip adres to see whois information
Wanabo
I often check the ip adresses from new users to see if they are possible spammers.
I made the ip address in the profile.php clickable to request with ease the whois information.

Open profile.php and find around line 157
Download source  GeSHi: PHP
  1. echo "<td align='right' class='tbl1'>".$user_data['user_ip']."</td>\n";
  2.  
Parsed in 0.022 seconds, using GeSHi 1.0.8.10


And replace that line with:
Download source  GeSHi: PHP
  1. echo "<td align='right' class='tbl1'><a href='http://whois.domaintools.com/".$user_data['user_ip']."' target='_blank'>".$user_data['user_ip']."</a></td>\n";
  2.  
Parsed in 0.008 seconds, using GeSHi 1.0.8.10



This is the changed part;

".$user_data['user_ip']."
Cool
 
Ankur
Nice information and tool ..... Wink

Thanks.... Smile
Be What you want to be...Wink
 
www.php-fusion.in
Jump to Forum
New Thread Post Reply
Use BBcode or HTML to refer to; '[MOD]Profile.php click ip adres to see whois information'
BBcode:
HTML: