| | I want to install whois system in my website in which my visitors can search other websites' information. I want to have php source code of it. Is it free of charge? What is the official website of WHOIS??! thx~ |
|
|
official whois site.. hmm im not sure that something like that exist.
and for that script try at: http://www.hotscripts.com/PHP/Scripts_and_...rams/index.html im sure that i saw there one.. use search.
There is no official WHOIS site, as far as I know. Also, I don't know if you can make a PHP script showing WHOIS information...
I believe this is what you're looking for
http://www.finalwebsites.com/snippets.php?id=13 Found initially on Codebeach.com If you havent been to codebeach.com .. check it out. ( I dont know PHP so I didnt check to see if it's exactly what you needed or not.. I didnt see a demo of it on the Codebeach site either.. but I'm sure it's worth a look at least) =) Note that whois servers operate on port 43, so you would need to connect, in this example, to whois.verisign-grs.com:43 to retrieve a whois record. After connection, all you need to send to the server is the domain name followed by CR+LF (\r\n or chr(13).chr(10)), and the whois server will return the record if the domain exists (or will inform you if it doesn't). You will need to know a little about socket coding to access a whois records, regarldess of which programming language you wish to do it in. Here is an example of retrieving a whois record. I quickly constructed this while writing this post, and haven't tested it - theoretically, at least, it should work. CODE <?php function whois_record( $domain_name, $whois_server = 'whois.verisign-grs.com' ) { if( !($socket = @fsockopen($whois_server,43) ) { die('Could not connect to whois server.'); } // Note that the '=' symbol means the domain name is explicit, and instructs the whois server to return a result for that domain name only, not for other possible matches (e.g. try 'google.com' without the equals symbol). fputs($socket, "=$domain_name\r\n"); $whois_record = ''; while( !feof($socket) ) { $whois_record .= fgets($socket,1024); } fclose($socket); return $whois_record; } ?>
Er, that's VeriSign Global Registry Services. Typing mistake, sorry.
Similar Topics
Keywords : whois searching websites information
I am relatively new with web design so I don't even know exactly what to ask here, but this I need help with a couple of things. First, I need to know how to retrieve information from a mysql Hi to all Today i want make one php whois script , but i can not find any good tutorial about that , Hi Everyone , i currently have two websites which were installed with opensource scripts,now i want Is there any way to make such database where I can write like name and passwords.. Then make an Well, I am creating a search script for a MySQL-database. But how can people submit "first second", Looking for whois, system, searching, websites, information
|
|
![]() About Whois System - searching websites' information |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|