Jump to content

good ip[ whois?


Tzar

Recommended Posts

i cant find one i have used google and various other places but i cant find one that will actuly give me a name or anything like that all they would give me are the ISP's is there one out there that gives good info?? the main readion i was looking for one is so that i can try and amke one on my site www.utterchaos.fh-net.com so if any of you guys can help that would be awsome

Link to comment
Share on other sites

What is you're after? A name? Of whom? You're not going to be able get the name of the person using the IP unless they actually own the IP, which they probably won't. If you mean the host name you can use the gethostbyaddr function of PHP. If you mean the IP owner information you'll need to connect to the whois server of whoever administers that IP block on port 43 and send the IP followed by a newline then read whatever it sends back. I think you may just be able to use whois.arin.net for any IP and if it's not an IP in ARIN's jurisdiction it'll tell you what server to connect to instead. It just requires a bit of parsing the plain text to get the information into a useable form.

Link to comment
Share on other sites

well i was after a name but not for anyone in perticular i just wanted to beable to do it if some one ended up poissing me off you know.. a while ago someone spammed one of my frineds sites and the site gavethe persons ip and i couldent figur out how to use it so since then iv been looking in to it and so now i mainly want to know how to make it so i can do it from my site

Link to comment
Share on other sites

Geeze, newb, please give google a try first next time:

http://www.google.ca/search?q=mambo+whois

If you had, you would have seen imediately that there's a few out there, including:

http://mamboxchange.com/projects/moslookup/

http://www.mamboportal.com/content/view/926/2/

It looks like there's others, but you're going to have to do *some* of the work. ;)

Also, if you view the source of dnsstuff, and play with it a bit, you can get the following HTML out. Put it into a blank module or content page and it should work for you.

<!-- Search Whois -->

<FORM METHOD=GET ACTION="http://www.dnsstuff.com/tools/whois.ch"><INPUT TYPE=text NAME=ip SIZE=20> <INPUT TYPE=submit VALUE="Whois Search"></FORM>

<!-- Search Whois -->

Hope that helps.

Link to comment
Share on other sites

lol i didnt think to pair the search with mambo i was just looking for code... and i was going to look over the code for dnsstuff, i just hadent gotten to it yet and yes that is a huge help thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...