Results for $query :
";
switch ($output)
{
case 'object':
if ($whois->Query['status'] < 0)
{
echo implode($whois->Query['errstr'],"\n
");
}
else
{
$utils = new utils;
echo $utils->showObject($result);
}
break;
case 'nice':
if (!empty($result['rawdata'])) {
$utils = new utils;
echo $utils->showHTML($result);
}
else {
echo implode($whois->Query['errstr'],"\n
");
}
break;
default:
if(!empty($result['rawdata'])) {
echo ''.implode($result['rawdata'],"\n").'
';
}
else {
echo implode($whois->Query['errstr'],"\n
");
}
}
echo '
';
}
?>