Hello Everybody..

Can you suggest me PHP code to check
whether a domain is available or not...


Thanks in Advance

Your Help is appreciated...
But i am a beginner...
and
not able to understand the code on the above link....

I want to understand..how actually domain availability check is done..

When? Did you tried to run this example script?

<?php
include('whois.main.php');

$whois = new Whois();
$query = 'daniweb.com';
$result = $whois->Lookup($query,false);
echo "<pre>";
print_r($result);
echo "</pre>";
?>

It works if the script example is in the same directory of the PHPWhois Class.

Great :)
then mark it as solved, this will help other users with your same problem, bye :)