| | |||||
| ||||||||
| 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. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 610
![]() ![]() ![]() ![]() ![]() ![]() | Available 3-Character Domain Scanner I was bored and happened to make this script. ![]() It randomly scans for available 3-character domain names. It is currently configured to find COM, NET, ORG, INFO, BIZ, and US domains, but can easily be configured to look for others. If you happen to accidently come accross an interesting domain using it, be sure to tell me Enjoy.PHP Code:
__________________ ask me about the internet
Last edited by Jim_; 03-18-2006 at 11:08 AM.
|
| |
| | THREAD STARTER #2 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 610
![]() ![]() ![]() ![]() ![]() ![]() | I updated the above script, adding ob_flush() to send domains to the user as they are generated. I've also made a version that scans a list of domains: PHP Code:
__________________ ask me about the internet
Last edited by Jim_; 03-23-2006 at 12:53 PM.
|
| |
| | #3 (permalink) |
| If only you knew... Join Date: Oct 2005 Location: Inside your head...
Posts: 998
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| |
| | #8 (permalink) |
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Jim_, if you don't mind; I've updated it just a tad: PHP Code: |
| |
| | #9 (permalink) |
| Professional Monkey Join Date: Jul 2005 Location: Escaped from the zoo
Posts: 907
![]() ![]() | Nice Script I updated to work with .eu PHP Code:
__________________ Webmaster Words
Last edited by Amnezia; 04-09-2006 at 03:41 AM.
|
| |
| | #11 (permalink) |
| Professional Monkey Join Date: Jul 2005 Location: Escaped from the zoo
Posts: 907
![]() ![]() | no, if you run the script you see that it only queries one whois server at a time and then moves on to the next, its not multithreaded
__________________ Webmaster Words |
| |
| | #12 (permalink) |
| I'll do it ![]() Join Date: Dec 2005 Location: India
Posts: 6,927
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Well I have a script which automatically moves on to the next entry. And if the domain is available it can send us an email or do anything that is required. 5 secs for one lookup I have kept the time interval.
__________________ |
| |
| | #13 (permalink) |
| Resistance is Futile Join Date: Apr 2006 Location: Montreal, Canada
Posts: 1,094
![]() ![]() ![]() ![]() ![]() ![]() | Pretty sweet script, now I can get 3 letter domains easily!
__________________ Freelance Web Developer PHP, MySQL, XHTML, CSS, Javascript, jQuery, Wordpress Portfolio: www.bundy.ca |
| |
| | #14 (permalink) |
| NamePros Regular Join Date: Mar 2006
Posts: 887
![]() ![]() ![]() | Hey, Wonderful script. Enjoyed it, and the modifications done with it. Been a fan of it since it was first posted. Can someone please explain, though, why Jim_ mentioned this; "// This is the number of domains the script will stop at. // Try not to set it too high. You'll upset your host and the nameservers" How does this upset my host, and nameservers? I know the page loads oddly, will my host know that I am doing something like this? |
| |
| | #15 (permalink) |
| Professional Monkey Join Date: Jul 2005 Location: Escaped from the zoo
Posts: 907
![]() ![]() | alot of hosts dont like it when you run long looping scripts. If you are only running instance at a time then it should be fine. Also most of the whois servers have hourly query limits on them. If you exceed this limit then you get a temporary ban. If you are on shared hosting then this ban extends to everyone who uses the same IP as you. The query limit on whois.eu is 100 per hour, im not sure what the limits are on the other whois servers maybe someone else can clarify this?
__________________ Webmaster Words |
| |
| | #17 (permalink) |
| Senior Member Join Date: Sep 2005 Location: Herts, UK
Posts: 3,796
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | This is a great script! Nice work to Jim and all others who improved it Rep added to all of you
__________________ RickM Web Design Forums - Over 22,000 Web Designers & Programmers just like you! WSDReg - Affordable Domain Registration. Serving NP members since 2006! |
| |
| | #18 (permalink) |
| Senior Member Join Date: Sep 2005 Location: England
Posts: 1,034
![]() ![]() ![]() ![]() | I made my own little twist on this, it's basically a form where you choose the type of domain you want (like LLL, LNL etc) then select an extension. Curiously enough the code works on my localhost but not on my GoDaddy hosting account, anybody know why? Also Jim_ I removed your comments during development, but i'm not going to pretend it's all my work since i'm posting here and all. All credit still goes to you...Thanks for it. ![]() ????: NamePros.com http://www.namepros.com/showthread.php?t=174138 Code: Code removed
Last edited by Shorty; 05-31-2006 at 11:23 AM.
|
| |
| | #19 (permalink) |
| NamePros Regular Join Date: Mar 2006 Location: Connecticut, USA
Posts: 281
![]() | If i used the last script posted what would I name it? Edit: I named that last script available.php but I get PHP Code:
__________________ DarkNeoNetwork
Last edited by Darkneoboi; 04-15-2006 at 11:24 AM.
|
| |
| | #20 (permalink) |
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Shorty, cool ![]() I've not tested it, but cleaned it up a little :PHP Code:
Last edited by SecondVersion; 04-15-2006 at 11:50 AM.
|
| |
| | #21 (permalink) |
| Professional Monkey Join Date: Jul 2005 Location: Escaped from the zoo
Posts: 907
![]() ![]() | the code wont work on godaddy because i assume they disable f_sock() lol
__________________ Webmaster Words |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redemption Grace Period | TopNames.com | Domain Newbies | 1 | 07-31-2007 12:04 PM |
| Guide to Selecting Nice Domains | -Nick- | Domain Name Discussion | 12 | 01-26-2006 04:14 AM |
| List of domains are they good | free-everything.com | Domain Name Discussion | 10 | 08-07-2005 09:54 AM |
| domain names | unknowngiver | Domain Newbies | 9 | 06-02-2005 08:34 PM |