Location: PHPKode > projects > PHP-xWhois > php-xwhois/examples/getwhois.php
<?php
# including whois.php
include("../whois.php");

# create new class with domainname
$xWhois = new xWhois("google.at");
# setting up variables
# i want to get Whois data
$xWhois->__whois = true;
# get Data
$xWhois->getData();

# returning Whois
echo nl2br($xWhois->Whois);
?>
Return current item: PHP-xWhois