COMING SOON 🚀

후이즈검색 하기 입니다.

· 10년 전 · 1558

<?
$whois_server = array(
        'com' => 'whois.internic.net',
        'net' => 'whois.internic.net',
        'org' => 'whois.publicinterestregistry.net',
        'co.kr' => 'whois.krnic.net'
);
$whois_avail  = array(
        'whois.internic.net' => 'No match for ',
        'whois.publicinterestregistry.net' => 'NOT FOUND',
        'whois.krnic.net' => 'is not registered to KRNIC'
);

// 도메인 조회 함수
function check_domain( $domain, $suffix ) {
        global $whois_server,$whois_avail;

        $server = $whois_server[$suffix];
        $avail  = $whois_avail[$server];

        // 잘못된 도메인(com,net,org,co.kr이 아닌)
        if (!$server) return false;

        $sock = fsockopen($server,43,$errno,$errstr,30);
        if (!$sock) {
                echo "$errstr [$errno]";
                return false;
        }
        fwrite($sock,"$domain.$suffix\r\n");
        while (!feof($sock)) {
                $ret .= fgets($sock);
        }
    echo $ret;
        fclose($sock);

        if (strstr($ret,$avail)) return true;
        return false;
}

// 조회 도메인이 있다면
if ($domain) {
        echo "<table cellspacing=0 border=1>\n";
        foreach($whois_server as $suffix => $server) {
                $ret = check_domain($domain,$suffix);
                if ($ret)
                        $OX = 'O';
                else
                        $OX = 'X';
                echo " <tr>\n";
                echo "  <td align=right>$domain.$suffix ($OX)</td>\n";
                echo "  <td> 등록 ";
                if (!$ret) echo "불";
                echo "가능</td>\n";
                echo " </tr>\n";
        }
        echo "</table>\n";
}
?>
<br><br><h3>Domain Search</h3>
<hr size=-1>
<form method=post>
Search Domain : <input type=text name=domain value="<?=$domain?>"><input type=submit value="조회">
</form>  

|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
9년 전 조회 1,495
9년 전 조회 1,907
9년 전 조회 1,945
9년 전 조회 1,680
9년 전 조회 1,548
9년 전 조회 1,594
9년 전 조회 1,937
9년 전 조회 1,513
9년 전 조회 1,756
9년 전 조회 1,582
9년 전 조회 1,680
9년 전 조회 1,541
9년 전 조회 1,800
9년 전 조회 1,516
9년 전 조회 1,486
9년 전 조회 1,463
9년 전 조회 1,555
9년 전 조회 1,490
9년 전 조회 1,546
9년 전 조회 1,644
9년 전 조회 1,458
9년 전 조회 1,484
10년 전 조회 1,489
10년 전 조회 1,606
10년 전 조회 1,469
10년 전 조회 1,578
10년 전 조회 1,411
10년 전 조회 1,486
10년 전 조회 1,305
10년 전 조회 1,536
10년 전 조회 1,337
10년 전 조회 1,360
10년 전 조회 1,470
10년 전 조회 1,373
10년 전 조회 1,402
10년 전 조회 1,332
10년 전 조회 1,746
10년 전 조회 1,780
10년 전 조회 1,744
10년 전 조회 1,692
10년 전 조회 1,482
10년 전 조회 1,623
10년 전 조회 1,765
10년 전 조회 1,470
10년 전 조회 1,776
10년 전 조회 1,734
10년 전 조회 2,113
10년 전 조회 1,718
10년 전 조회 1,925
10년 전 조회 1,559
10년 전 조회 1,689
10년 전 조회 1,412
10년 전 조회 1,470
10년 전 조회 1,531
10년 전 조회 1,522
10년 전 조회 1,670
10년 전 조회 1,444
10년 전 조회 1,468
10년 전 조회 1,434
10년 전 조회 1,383
10년 전 조회 1,452
10년 전 조회 1,258
10년 전 조회 1,330
10년 전 조회 1,228
10년 전 조회 1,376
10년 전 조회 1,330
10년 전 조회 1,803
10년 전 조회 1,275
10년 전 조회 1,245
10년 전 조회 1,497
10년 전 조회 1,307
10년 전 조회 1,276
10년 전 조회 1,288
10년 전 조회 1,228
10년 전 조회 1,146
10년 전 조회 1,138
10년 전 조회 1,236
10년 전 조회 1,239
10년 전 조회 1,169
10년 전 조회 1,061
10년 전 조회 1,147
10년 전 조회 1,122
10년 전 조회 1,136
10년 전 조회 1,190
10년 전 조회 1,194
10년 전 조회 1,136
10년 전 조회 1,136
10년 전 조회 1,194
10년 전 조회 1,157
10년 전 조회 1,236
10년 전 조회 1,164
10년 전 조회 1,111
10년 전 조회 1,086
10년 전 조회 1,099
10년 전 조회 1,085
10년 전 조회 1,110
10년 전 조회 1,140
10년 전 조회 1,100
10년 전 조회 1,156
10년 전 조회 1,089