-
Notifications
You must be signed in to change notification settings - Fork 0
API krisp_search_ex
JoungKyun Kim edited this page Jul 17, 2016
·
1 revision
(stdClass object) KRISP::searchEx ((string) $host, (string) $table)
(stdClass object) krisp_search_ex ((krisp) $link, (string) $host, (string) $table)$link
Return value of the krisp_open api. This argument is only required on Procedural style.
$host
Searching host or IP address
$table
Searching table on krisp database
If you want to search your table that makes by you in krisp database, you can use this method.
Search on given table and returns network information about given host that includes network information, country information and ISP information.
return stdClass object that include follow members:
stdClass Object
(
[host] => naver.com
[ip] => 125.209.222.141
[start] => 125.209.192.0
[end] => 125.209.255.255
[netmask] => 255.255.192.0
[network] => 125.209.192.0
[broadcast] => 125.209.255.255
[size] => 4
[data] => Array
(
[0] => KR
[1] => Korea, Republic of
[2] => NHN-NET
[3] => 네이버비즈니스플랫폼 주식회사
)
)<?php
$kr = new KRISP;
$r = $kr->searchEx ('naver.com', 'krisp');
print_r ($r);
$kr->close ();
?><?php
if ( ($kr = krisp_open (null, $error)) === false ) {
echo "ERROR: {$error}\n";
exit (1);
}
$r = krisp_search_ex ($rk, 'naver.com', 'krisp');
print_r ($r);
krisp_close ($kr);
?>KRISP::__construct, KRISP::close, KRISP::search, KRISP::mtimeInterval, KRISP::debug