NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming > CODE
Reload this Page PHP: Bulk domain availability check!

CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here.

Advanced Search


Reply
 
LinkBack Thread Tools
Old 01-20-2007, 12:01 PM   #26 (permalink)
Senior Member
 
champ_rock's Avatar
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,830
champ_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond repute
 



ya nno problem.. it was just a recommendation .. anyways thanks for sharing such a gr8 script

------------

i decided to test the limits of my server as well as the limits of the registrar before it blocks ur Ip

this script has successfully tested about 10976 domains..

to test further i have placed about 45000 domains.. when the results come i will definately inform

update:
while checking the 15000 domains of the second lot i recieved this error
Quote:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/champroc/public_html/dc/index.php on line 43
i think that if u own the server then u can increase this time which will make this script invincible
Last edited by champ_rock; 01-20-2007 at 01:46 PM.
champ_rock is offline   Reply With Quote
Old 01-20-2007, 01:51 PM THREAD STARTER               #27 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
Quote:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/champroc/public_html/dc/index.php on line 43
Fixed!

CODE UPDATED!
- Added "save results as text file" feature - requested.
- Added .tv domain support - requested

Go back to page one or download here: http://mattjewell.com/dnlookup/download.zip

Live demo updated:
http://mattjewell.com/dnlookup/

My apolagies for the lazy coding, i just can't spend a large amount of time on this right now.

edit: having problems with demo for some reason, will fix asap.
????: NamePros.com http://www.namepros.com/code/280961-php-bulk-domain-availability-check.html

Script bug found and fixed!
Last edited by Matthew.; 01-20-2007 at 01:59 PM.
Matthew. is offline   Reply With Quote
Old 01-20-2007, 02:01 PM   #28 (permalink)
Senior Member
 
champ_rock's Avatar
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,830
champ_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond repute
 



u rock !!!

will add some more reps to you when VB permits..

whenever u get time please add the email and cronjobs to be implemented!!
champ_rock is offline   Reply With Quote
Old 01-20-2007, 02:03 PM THREAD STARTER               #29 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
Originally Posted by champ_rock
u rock !!!

will add some more reps to you when VB permits..

whenever u get time please add the email and cronjobs to be implemented!!
Thanks
????: NamePros.com http://www.namepros.com/showthread.php?t=280961

I'm going to leave that for someone who wants it to do themselves, it's a bit out of this scripts job if you get me. Maybe my next script will do that

edit: Another bug found/fixed.
Last edited by Matthew.; 01-20-2007 at 02:27 PM.
Matthew. is offline   Reply With Quote
Old 01-20-2007, 06:50 PM   #30 (permalink)
NamePros Regular
 
tansks's Avatar
Join Date: Dec 2004
Location: Penang, Malaysia
Posts: 874
tansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nice
 



How about have checkbox for each extension?
__________________
Hostegic - Premium cPanel Hosting [Softaculous | RvSitebuilder | R1Soft daily backups | LiteSpeed]
[UK] [Linux - cPanel | Windows - WebsitePanel/Plesk] [Shared Hosting | Reseller Hosting | VPS]
tansks is online now   Reply With Quote
Old 01-20-2007, 08:07 PM   #31 (permalink)
Senior Member
 
Cyberian's Avatar
Join Date: Apr 2004
Location: Emerald Triangle
Posts: 4,558
Cyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond reputeCyberian has a reputation beyond repute
 

Member of the Month
January 2006Member of the Month
July 2006

Originally Posted by tansks
How about have checkbox for each extension?
Tansks, this has already been asked. You guys are killing him. He customs out a script, shares it, changes it to suit some requests, mentions he is tired, also that he is missing work, takes the time and fixes some bugs, clearly states he is leaving further modding to the next guy, and still.....
????: NamePros.com http://www.namepros.com/showthread.php?t=280961

Anyways Matthew, thanks for a job well done!

With your permission we will be adding this into the DNOA Members Toolbox interface, with all props to you of course.

Peace,
Cyberian
__________________
Remember who your loyalties are divided between,
and choose for the right reasons who deserves them.
Cyberian is offline   Reply With Quote
Old 01-20-2007, 10:36 PM   #32 (permalink)
Senior Member
 
champ_rock's Avatar
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,830
champ_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond repute
 



well mathew, you will be happy to know that i just checked about 45000 domains successfully..

also, this script uses very very less bandwidth.. it had used about 7 mb for searching about 60000domains...
champ_rock is offline   Reply With Quote
Old 01-21-2007, 03:25 AM   #33 (permalink)
NamePros Regular
 
tansks's Avatar
Join Date: Dec 2004
Location: Penang, Malaysia
Posts: 874
tansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nicetansks is just really nice
 



Originally Posted by ~ Cyberian ~
Tansks, this has already been asked. You guys are killing him. He customs out a script, shares it, changes it to suit some requests, mentions he is tired, also that he is missing work, takes the time and fixes some bugs, clearly states he is leaving further modding to the next guy, and still.....
????: NamePros.com http://www.namepros.com/showthread.php?t=280961

Anyways Matthew, thanks for a job well done!

With your permission we will be adding this into the DNOA Members Toolbox interface, with all props to you of course.

Peace,
Cyberian
Oops, sorry (to Matthew).
__________________
Hostegic - Premium cPanel Hosting [Softaculous | RvSitebuilder | R1Soft daily backups | LiteSpeed]
[UK] [Linux - cPanel | Windows - WebsitePanel/Plesk] [Shared Hosting | Reseller Hosting | VPS]
tansks is online now   Reply With Quote
Old 01-21-2007, 05:12 AM THREAD STARTER               #34 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
Don't worry about it tansks

[quote]
Quote:
Tansks, this has already been asked. You guys are killing him. He customs out a script, shares it, changes it to suit some requests, mentions he is tired, also that he is missing work, takes the time and fixes some bugs, clearly states he is leaving further modding to the next guy, and still.....
????: NamePros.com http://www.namepros.com/showthread.php?t=280961

Anyways Matthew, thanks for a job well done!

With your permission we will be adding this into the DNOA Members Toolbox interface, with all props to you of course.
No problems You may use it however you wish, no credits required It's all free.
Matthew. is offline   Reply With Quote
Old 01-21-2007, 06:48 AM   #35 (permalink)
NamePros Regular
Join Date: Jul 2005
Location: India
Posts: 241
ashokuh is an unknown quantity at this point
 




nice script, and useful
ashokuh is offline   Reply With Quote
Old 01-21-2007, 08:13 AM THREAD STARTER               #36 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
Thanks ashokuh.


Code updated!

- Added .in support
- Fixed .mobi support (i removed it by accident)
- Fixed/Replaced URL grabber:
PHP Code:
// From:
str_replace(array('http://''www.'), null$domain); / (would break domains such as freewww.com)

// To:
preg_match('@^(http://www\.|http://|www\.)?([^/]+)@i'$domain$matches); 
????: NamePros.com http://www.namepros.com/showthread.php?t=280961
Matthew. is offline   Reply With Quote
Old 01-21-2007, 10:45 AM   #37 (permalink)
Senior Member
 
champ_rock's Avatar
Join Date: Oct 2006
Location: http://akshayjain.org
Posts: 2,830
champ_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond reputechamp_rock has a reputation beyond repute
 



ok

i am a complete newbie to php.. i have not even read the first page of php tutorial anywhere.. so please dont think that this script that i am uploading is perfect

i have added email support (copied the emailing script from the net) which works only when u have enabled the option to save as a text file

if anyone has some spare time then please refine this script as follows: (mathews i am not asking uto do it as u r busy)
current bug that i know exist but cannot rectify because of my limited knowledge:

if the "availability" file does not exist but the "taken file" exists then it gives a error.


also, i would want to ad a text box on the script page where the user can specify which email id does he want the email to be sent to.. {this one should not be difficult}
????: NamePros.com http://www.namepros.com/showthread.php?t=280961

thanks for all ur help
champ_rock is offline   Reply With Quote
Old 01-21-2007, 01:49 PM THREAD STARTER               #38 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
Code has been updated once more.

Changes are only to code organization. (script shortened)
Matthew. is offline   Reply With Quote
Old 01-21-2007, 04:01 PM   #39 (permalink)
NamePros Member
Join Date: Dec 2006
Posts: 141
Stitch is on a distinguished road
 




Suggestion: Transform the entered urls to lowercase

edit: you have already done that, sorry not paying attention lol
Stitch is offline   Reply With Quote
Old 01-21-2007, 04:06 PM THREAD STARTER               #40 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
Originally Posted by . Adam .
Suggestion: Transform the entered urls to lowercase
????: NamePros.com http://www.namepros.com/showthread.php?t=280961

edit: you have already done that, sorry not paying attention lol
I do not transform the urls, i transform the extension when being used as an array key however the urls remain untouched as there is no reason to change them.
Matthew. is offline   Reply With Quote
Old 01-24-2007, 09:36 AM   #41 (permalink)
Senior Member
 
mtorregiani's Avatar
Join Date: Jul 2006
Location: Montevideo, Uruguay
Posts: 1,601
mtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to behold
 


Cancer Survivorship
I don't want to bother, but... can you add the .es and .com.es ext?
mtorregiani is offline   Reply With Quote
Old 01-25-2007, 01:04 PM   #42 (permalink)
Account Closed
Join Date: Sep 2006
Posts: 1,075
YesBrilliant is a name known to allYesBrilliant is a name known to allYesBrilliant is a name known to allYesBrilliant is a name known to allYesBrilliant is a name known to allYesBrilliant is a name known to all
 



Excellent script!

Thanks a lot for sharing.

Repd!
YesBrilliant is offline   Reply With Quote
Old 01-25-2007, 01:10 PM THREAD STARTER               #43 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
Cheers YesBrilliant, mattjewell.com is being a little slow right now so it might be acting a bit crap

mtorregiani, i read your post and then forgot about it sorry. I can't seem to find a whois server for .com.es or .es, so i can't add support sorry
Matthew. is offline   Reply With Quote
Old 01-26-2007, 05:45 AM   #44 (permalink)
Senior Member
 
mtorregiani's Avatar
Join Date: Jul 2006
Location: Montevideo, Uruguay
Posts: 1,601
mtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to behold
 


Cancer Survivorship
Originally Posted by Matthew.
mtorregiani, i read your post and then forgot about it sorry. I can't seem to find a whois server for .com.es or .es, so i can't add support sorry
Maybe this one: http://ineco.nic.es/cgi-bin/consulta.whois
mtorregiani is offline   Reply With Quote
Old 01-26-2007, 03:24 PM THREAD STARTER               #45 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
Can't work with that sorry

There is no whois server listed on any site i can find and whois services like whois.sc d not even give a full whois report so i can only assume it doesn't have one
Matthew. is offline   Reply With Quote
Old 01-27-2007, 03:11 AM   #46 (permalink)
New Member
Join Date: Jan 2007
Posts: 3
signor is an unknown quantity at this point
 



this is just what i was looking for,i can't thank you enough!

btw...can you make a bulk GOOGLE PageRank checker?
signor is offline   Reply With Quote
Old 01-27-2007, 03:15 AM THREAD STARTER               #47 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
Don't mention it signor.

That's actually an interesting idea you havce, i may look into doing that some time in the future, depends when i get some time.

Matt
Matthew. is offline   Reply With Quote
Old 01-27-2007, 03:17 PM   #48 (permalink)
New Member
Join Date: Jan 2007
Posts: 3
signor is an unknown quantity at this point
 



Originally Posted by Matthew.
Don't mention it signor.
????: NamePros.com http://www.namepros.com/showthread.php?t=280961

That's actually an interesting idea you havce, i may look into doing that some time in the future, depends when i get some time.

Matt

yes off course
signor is offline   Reply With Quote
Old 02-01-2007, 10:46 AM   #49 (permalink)
Senior Member
 
mtorregiani's Avatar
Join Date: Jul 2006
Location: Montevideo, Uruguay
Posts: 1,601
mtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to beholdmtorregiani is a splendid one to behold
 


Cancer Survivorship
Id it possible to add the .mobi extension?
mtorregiani is offline   Reply With Quote
Old 02-01-2007, 10:51 AM THREAD STARTER               #50 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
.mobi support is already a feature in the last revision mtorregiani
Matthew. is offline   Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.namepros.com/code/280961-php-bulk-domain-availability-check.html
Posted By For Type Date
Domain Checker Script - PC Troubleshooting This thread Refback 11-19-2011 05:52 PM
Bulk Domain Availability Checker - Dynamic Drive Forums This thread Refback 11-16-2011 11:00 AM
Domæne navn » Support » Forum | newz.dk This thread Refback 11-01-2011 09:34 PM
Domain Name Availability Search Script - Web Hosting Talk This thread Refback 10-29-2011 10:17 PM
Bulk Domain Availability Check Script | Domain Acquisition This thread Refback 10-26-2011 02:40 PM
Domain Checker Script - PC Troubleshooting This thread Refback 10-07-2011 08:25 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:16 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger