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 :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
whois. not a hack. [message #17619] Wed, 07 April 2004 14:42 Go to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
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 967 times)
Re: whois. not a hack. [message #17620 is a reply to message #17619] Wed, 07 April 2004 15: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
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 16: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
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 16:45 Go to previous message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
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.
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sun Jun 02 08:53:42 GMT 2024

Total time taken to generate the page: 0.02285 seconds