Can you suggest me PHP code to check
whether a domain is available or not...
Thanks in Advance
Jump to Post
Check the README file, there you find instructions and examples:
Your Help is appreciated...
But i am a beginner...
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.
Thank you so much...
then mark it as solved, this will help other users with your same problem, bye :)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.