Page 1 of 2
Domain name search
Posted: Mon Aug 20, 2007 5:08 am
by vinoth
hi all
I need code for to check the availability of Domain names in PHP
Provide me an possible way and suggestions regarding this
Posted: Mon Aug 20, 2007 5:15 am
by Ollie Saunders
Posted: Mon Aug 20, 2007 5:28 am
by vinoth
ya I got the code
from PHP Whois script Classes
Its working fine, thanks for your suggestion
Posted: Tue Aug 21, 2007 5:33 am
by vinoth
hi all
the PHP Whois script Classes is work fine for generic domains like [.net .com .org] but it can't work for country code domains like co.in, co.za...... Is there any way to got that
Provide any way to got this or some suggestion needed to achieve this
Posted: Tue Aug 21, 2007 7:19 am
by superdezign
I'm not even sure how "The PHP Whois script Classes" work. I'm also not sure how it would omit certain domains.
Posted: Tue Aug 21, 2007 8:21 am
by feyd
Match the request string against the "generic domains" it does handle.
Posted: Tue Aug 21, 2007 8:30 am
by vinoth
hi feyd
I didn't get you..
Generic domains is differ Country Domains
Posted: Tue Aug 21, 2007 8:33 am
by VladSun
Choose one

:
http://www.developertutorials.com/scripts/3/4/
I think
cWhois would be a good choice (at first look).
PS: Ooops, it costs 29$, sorry. Choose another

Posted: Tue Aug 21, 2007 8:34 am
by anjanesh
There are many domains that are registered but have no website adn hence no IP.
How are you checking against such domains ?
Posted: Tue Aug 21, 2007 8:34 am
by feyd
The Whois script you have works for "generic domains." So you can only look at those types of domains until you figure out how to look for country specific domains. Therefore you filter the domains you will look for through the script to just the domains it can handle at this time.
Posted: Tue Aug 21, 2007 8:41 am
by VladSun
Posted: Thu Aug 23, 2007 7:12 am
by vinoth
hi all
Now I check the domain availability by using file exists condition
Hope it works fine
Posted: Thu Aug 23, 2007 8:48 am
by superdezign
vinoth wrote:Now I check the domain availability by using file exists condition
A domain can be occupied, but be completely empty of files. You sure that'll work? There are plenty of unused domains. They like to think of it as internet real estate.
Posted: Fri Aug 24, 2007 5:43 am
by vinoth
hi superdezign
after the domain name got registered..
How it will be no file
Anyway it just contain the index file or the domain name hosters will provide the default files
So it won't cause any problem I think
Posted: Fri Aug 24, 2007 6:24 am
by anjanesh
You should map the domain to some host (server IP) for files like index.html etc to be visible.
If you just buy a domain name and dont host it, there wouldnt be any website associated with it.
Mapping a domain name to a host server is done using
DNS.