FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » whois. not a hack.
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
whois. not a hack. [message #17619] Wed, 07 April 2004 10:42 Go to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
You may notice that the whois info for IPs only works for US IPs. Not much use for people with loads of E.U. ROW users.

So, attached is a script that will return those. Just edit ip.tmpl and replace the frame source to something like

<iframe src="/someplace/ip.php?ip={VAR: ip}" width="600" height="400"></iframe>

or where ever you placed the script.

Hands up time. I am about as much of a coder as Atilla the Hun, so be aware this doesn't even rate as a hack. I'm only putting it here as others may find it usefull. Smile


code taken from: nqt.php (http://www.shat.net/php/nqt/)

  • Attachment: whois.txt
    (Size: 1.62KB, Downloaded 484 times)
Re: whois. not a hack. [message #17620 is a reply to message #17619] Wed, 07 April 2004 11:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
It may not work for all IPs, but it current implementation appears to work EU IPs for the most part. For example it seems to show me information about your IP without a problem.

FUDforum Core Developer
Re: whois. not a hack. [message #17622 is a reply to message #17620] Wed, 07 April 2004 12:31 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Latest version of FUDforum will have a better whois then the old Arin redirect.
You can see the patch at:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=2589
Re: whois. not a hack. [message #17626 is a reply to message #17622] Wed, 07 April 2004 12:45 Go to previous message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Excellent.

As I was clear to point out, I code like Atilla the Hun. I was just offering it out there as I found it usefull. Smile

The arin link never works for me for non US, it allways just points to ripe or the other nics.

Pais.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: the acronym/code patches
Next Topic: Have you any portal software for FUD
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 23 09:30:59 EDT 2017

Total time taken to generate the page: 0.00643 seconds