Buy Sell Discuss UK Domain Names at AcornDomains.co.uk Price Freeze on Business Hosting frm £4.95/month

Today's Drop Dates are: 18-02-2012 or 25-02-2012   All times are GMT. The time now is 11:37:01 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Domain Name Tools and Resources > Domain Tools
Connect with Facebook

Domain Tools Discuss and evaluate domainer tools and resources

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 29-04-2008, 10:05:25 AM     #1 (permalink)

 
Join Date: Sep 2006
Posts: 406
purg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond repute

Free php WHOIS script (demo & download)

Free script with a Creative Commons License and requested linkback to dailydomain.co.uk

Ive been looking how to including a whois lookup for use users directly from on my sites. Couldnt find a script to do what I wanted, how I wanted so created my own. This was first created for the UK market, so included are options which allow access to whois2 (if you have access).

I have tried to write the script in such a way other nic servers can be added easily but already covers :-

co.uk org.uk me.uk com net org info biz

working but commented out are :-
at de cc it ws


The script should work as is from download. To use enter the domain in the format xxxxx.com and select none or xxxxx and select which hlq from the drop down box. This was made this way to allow simple scripting of whois lookup. If you change form from POST to GET (LINE10) you can automate looks from external sources.


If you require whois2 the following lines need to be edited.

LINE 57
Code:
$string = socket_whois('x.x.x.x',$nicsrv,$dom);   // update x.x.x.x with your host IP if your using whois2
LINES 102 - 104
Code:
array('co.uk','whois.nic.uk','43'),		// 43 standard, 1043 if your host IP has access to whois2
array('org.uk','whois.nic.uk','43'),		// 43 standard, 1043 if your host IP has access to whois2
array('me.uk','whois.nic.uk','43'),		// 43 standard, 1043 if your host IP has access to whois2


Demo
http://www.dailydomain.co.uk/project...hoisx_v1_0.php

Download
http://www.dailydomain.co.uk/project...hoisx_v1_0.zip


A big thanks go to Dale (aZooZA for inernic information) and Chris (aquanuke socket assistance)



Please add your comments

Last edited by purg; 29-04-2008 at 10:07:35 AM.
purg is offline  
Old 29-04-2008, 10:06:41 AM     #2 (permalink)

 
Join Date: Sep 2006
Posts: 406
purg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond repute

{first reply reserved for updates}
purg is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
download script admin Website Design 9 04-03-2006 09:41:57 PM
free whois script admin Website Design 0 06-04-2005 09:20:20 AM

75% off Domains at Network Solutions®.


All times are GMT. The time now is 11:37:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".