$line) {$_out .= $line;}
# Support .mt
} ELSEIF (strpos($_GPV['server'], '.com.mt') !== FALSE || strpos($_GPV['server'], '.net.mt') || strpos($_GPV['server'], '.org.mt')) {
$lines = file('https://'.$whois);
foreach ($lines as $line_num => $line) {$_out .= $line;}
# Normal whois lookup
} ELSE {
$_out .= '';
$fp = fsockopen($whois, 43, $errno, $errstr, 10);
fputs($fp, "$_GPV[ord_domain]\r\n");
while(!feof($fp)) {$_out .= fgets($fp,128);}
fclose($fp);
$_out .= '';
$_out .= 'Close';
}
echo $_out;
?>