Skip to content
forked from regru/php-whois

PHP class to retrieve WHOIS information.

Notifications You must be signed in to change notification settings

mehrdd/php-whois

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

php-whois

PHP class to retrieve WHOIS information.

Example of usage

<?php

include('whois.class.php');

$domain_name = 'reg.ru';

$domain = new whois( $domain_name );
$whois_answer = $domain->info();

echo $whois_answer;

if ($domain->is_available()) {
    echo "Domain is available\n";
} else {
    echo "Domain is registered\n";
}

About

PHP class to retrieve WHOIS information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published