>> Delete Reply from No. 34495 article
No. RE: awk 를 php로 웹페이지에서 사용할려면요??

등록 2001-11-08 19:28:00 By localhost     조회 2
이름 skyer9    

		function save($ip) {
        $tail = time();
        exec("wget -q "http://whois.nic.or.kr/whois/webapisvc?VALUE=$ip&LANG_TYPE=K" -O /tmp/whois." . $tail);
        unset($output);
        exec("cat /tmp/whois." . $tail, $output);
        exec("rm -rf /tmp/whois." . $tail, $output);
         ....
         $connect = mysql_connect($host_name,$user_name,$user_password);
        mysql_select_db($db_name, $connect);
         $area = ""; $owner = "";
         for($i = 0; $i < count($output); $i++) {
                $temp = explode("IP 주소            : ", $output[$i]);
                if (count($temp) == 2) { $area = $temp[1]; break; }
        }
 옛날에 만드러떤 아이피 체크 플그림인뎅... 님이 원하시는게 이런건가여?
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved