Jump to content

php domain checker


westman

Recommended Posts

Hi all

I have a php domain checker script and it works fine...

<?phpif($_POST['proses']){	//$domain_name_show = $_POST['domain'];	//$domain_suffix_show = $_POST['suffix'];    $nama_domain = "$_POST[domain]"."$_POST[suffix]";    $arrHost = @gethostbynamel("$nama_domain");      if(empty($arrHost)){        echo "Domain $nama_domain is available, price unknown.";    }else{        echo "Domain $nama_domain is not available.";    }}?>

I would like it to check non premium domains only so I am not selling a domain for $15 that costs me over $1,000.

How do I do that?

Link to comment
Share on other sites

You'll need to find a domain seller that provides a price checking service that you can use. Those prices are set by the people selling the domains, so you need to check with them to get the price. ICANN does not distinguish between "regular" and "premium" domain names, they all start at the same price.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...