Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 21st, 2005, 9:17 AM   #1
Alex C D1DJ
Newbie
 
Join Date: Jun 2005
Posts: 2
Rep Power: 0 Alex C D1DJ is on a distinguished road
domain name search

Hi

I know its not html but what language would i use to create a domain name search.

so my users can search to see if there domain is available and then if it is available purchase the domain name

Thanks
Alex C
Alex C D1DJ is offline   Reply With Quote
Old Jun 21st, 2005, 2:23 PM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,475
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
PHP
(making this reply longer)
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jun 21st, 2005, 4:03 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
IR, if you're gonna use filler, put [color] tags around it at least. You want #EDEDED.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jun 22nd, 2005, 10:30 AM   #4
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,475
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Can't be bothered with that...
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jun 22nd, 2005, 10:33 AM   #5
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
php would most likely be the best language.

Are you starting a domain registy?
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Jun 22nd, 2005, 4:34 PM   #6
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 5 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
yeah, but just cuz a domain doesn't respond to pings doesn't mean it's not owned by someone, you'd have to run a whois on it.
-Dizz
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Jun 23rd, 2005, 5:44 PM   #7
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Quote:
Originally Posted by Dizzutch
yeah, but just cuz a domain doesn't respond to pings doesn't mean it's not owned by someone, you'd have to run a whois on it.
-Dizz
instead of programming it your self (well if you want to learn something you should), you could use this script located at: http://sourceforge.net/projects/phpwhois

i haven't tryed it out, but it looks pretty easy to use.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Jun 23rd, 2005, 7:40 PM   #8
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Can someone give me a reason why PHP is considered "the best language" for almost anything web related 'round these parts?
IMO there are many faults with PHP (that i'm not going to detail here), and web programming with Python is probably "better" due to the massive amount of web-related external modules for things like TLS, SSL, HTTP authentication, SSH etc, and the fact that it's an elegant language with re-usability and readability in mind.
Cerulean is offline   Reply With Quote
Old Jun 24th, 2005, 1:19 AM   #9
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 5 BlazingWolf is on a distinguished road
Well...because most of us like php better for whatever reason

And like no one uses python for web programming cept you.

And that my friend was a thread hijack
__________________
_______________________________
BlazingWolf
BlazingWolf is offline   Reply With Quote
Old Jun 24th, 2005, 5:15 AM   #10
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
<offtopic>

Quote:
Well...because most of us like php better for whatever reason
And I like the Konqueror web browser, but I still take into account the existence of other web browsers when designing a website (bad analogy, but it's early..)

Quote:
And like no one uses python for web programming cept you.
...and Google, NASA, people who use Zope, the Moin Moin wiki, Mailman, and so on...

</offtopic>

<ontopic>

Domain lookup you say? Here is quick domain look-up using whois information from whois.net with Python. I'm not sure what the maximum amount of lookups per IP address is though, you'll have to run the script a lot of times and see.
import urllib

def whois(domain):
    page = urllib.urlopen("http://www.whois.net/whois.cgi2?d=%s" % domain).read()
    return page.count("No match found for '%s'" % domain) == 0

if whois("google.com"):
    print "google.com is a registered domain!"

if whois("gaojfwaruqp.com"):
    print "gaojfwaruqp.com is a registered domain!"
else:
    print "gaojfwaruqp.com is NOT a registered domain name!"

</ontopic>
Cerulean is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:41 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC