$ip = "85.110.66.5";
if (trim($ip) <> "") {
$ip = trim($ip);
$fp = fsockopen("whois.ripe.net", 43, $errno, $errstr, 30);
if (!$fp) {echo "$errstr ($errno)";
} else {
fputs($fp, "$ip\r\n");
print "<pre>\r\n";
while (!feof($fp)) {
echo fread($fp,128);}
print "</pre>";
fclose ($fp);}}
ÇIKTISI :
% This is the RIPE Whois query server #3.
% The objects are in RPSL format.
%
% Rights restricted by copyright.
% See http://www.ripe.net/db/copyright.html
% Note: This output has been filtered.
% To receive output for a database update, use the "-B" flag.
% Information related to '85.110.0.0 - 85.110.127.255'
inetnum: 85.110.0.0 - 85.110.127.255
netname: TurkTelekom
descr: TT ADSL-alcatel dynamic_ulus
country: tr
admin-c: TTBA1-RIPE
tech-c: TTBA1-RIPE
status: ASSIGNED PA
mnt-by: as9121-mnt
source: RIPE # Filtered
role: TT Administrative Contact Role
address: Turk Telekom
address: Bilisim Aglari Dairesi
address: Aydinlikevler
address: 06103 ANKARA
phone: +90 312 313 1950
fax-no: +90 312 313 1949
e-mail: abuse@ttnet.net.tr
admin-c: BADB3-RIPE
tech-c: ZA66-RIPE
tech-c: NO638-RIPE
tech-c: SO351-RIPE
nic-hdl: TTBA1-RIPE
mnt-by: AS9121-MNT
source: RIPE # Filtered
% Information related to '85.110.0.0/17AS9121'
route: 85.110.0.0/17
descr: TurkTelecom
origin: AS9121
mnt-by: AS9121-MNT
source: RIPE # Filtered