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

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

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