![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 2
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#3 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
IR, if you're gonna use filler, put [color] tags around it at least. You want #EDEDED.
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#5 |
|
Programming Guru
![]() ![]() |
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! |
|
|
|
|
|
#6 |
|
Professional Programmer
|
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 |
|
|
|
|
|
#7 | |
|
Programming Guru
![]() ![]() |
Quote:
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! |
|
|
|
|
|
|
#8 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
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. |
|
|
|
|
|
#9 |
|
Hobbyist Programmer
Join Date: Sep 2004
Posts: 207
Rep Power: 5
![]() |
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 |
|
|
|
|
|
#10 | ||
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
<offtopic>
Quote:
Quote:
</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> |
||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|