Connecting Tech Pros Worldwide Help | Site Map

Whois IP search integrated into website.

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 11:28 AM
James
Guest
 
Posts: n/a
Default Whois IP search integrated into website.

As a security feature of my site, I want the IP details to be recorded
in certain situations.

I suppose I have to use the Rwhois server to do this, though I don't
know how to do that. Of course I would use any server, but the only
server I know that provides the service which works worldwide, is the
Rwhois server. I don't know how I would connect to it though.

Network Solutions has a website and example code, but it is written in
Perl and CGI, while I need to use PHP. The link to the software
including on-website demo is here:
http://www.rwhois.net/#Web_Clients

Any ideas/help appreciated!
James


  #2  
Old July 17th, 2005, 11:28 AM
Colin dot Horne at Gmail dot com
Guest
 
Posts: n/a
Default Re: Whois IP search integrated into website.

Hi James

Why do you need to do a whois lookup for security?

I don't have time to write out a full script for you, but I can give
you some pointers that might help.

This page does some interesting things:
http://www.colinhorne.co.uk/~colin/phpresources/dns.php
(source: http://www.colinhorne.co.uk/~colin/p...urces/dns.phps)

These functions might help you:
gethostbyname()
gethostbyaddr()

Also, try this on a box with 'whois' on it:
<?php
system("whois colinhorne.co.uk");
?>

Hope this helps
--Colin Horne

  #3  
Old July 17th, 2005, 11:29 AM
R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
Default Re: Whois IP search integrated into website.

James wrote:[color=blue]
> As a security feature of my site, I want the IP details to be[/color]
recorded[color=blue]
> in certain situations.
>
> I suppose I have to use the Rwhois server to do this, though I don't
> know how to do that. Of course I would use any server, but the only
> server I know that provides the service which works worldwide, is the
> Rwhois server. I don't know how I would connect to it though.[/color]

<snip>

http://groups.google.com/groups?selm=ccm8hq$144@odah37.prod.google.com

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.