{"id":813,"date":"2003-04-14T06:23:42","date_gmt":"2003-04-14T06:23:42","guid":{"rendered":"http:\/\/dev.jblove.net\/?p=813"},"modified":"2003-04-14T06:23:42","modified_gmt":"2003-04-14T06:23:42","slug":"%ec%a3%bc%eb%af%bc%eb%93%b1%eb%a1%9d%eb%b2%88%ed%98%b8-%ec%8b%a4%eb%aa%85-%ed%99%95%ec%9d%b8-%ed%95%a8%ec%88%98","status":"publish","type":"post","link":"https:\/\/jblove.net\/?p=813","title":{"rendered":"\uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \uc2e4\uba85 \ud655\uc778 \ud568\uc218"},"content":{"rendered":"<p>\/****************************************************<br \/>\n**<br \/>\n** \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \uc2e4\uba85 \ud655\uc778<br \/>\n**<br \/>\n** input : $name : \uc131\uba85<br \/>\n**         $rrn1 : \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \uc55e 6\uc790\ub9ac<br \/>\n**         $rrn2 : \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \ub4a4 7\uc790\ub9ac<br \/>\n**         $date : \uc8fc\ubbfc\ub4f1\ub85d\uc99d \ubc1c\uae09\uc77c<br \/>\n**<br \/>\n****************************************************\/<br \/>\nfunction check_resident( $name, $rrn1, $rrn2, $date )<br \/>\n{<\/p>\n<p>  $target = &#8220;http:\/\/www.egov.go.kr\/main?a=AA090UserRrnCheckApp&#038;&#8221; .<br \/>\n            &#8220;user_nm=&#8221; . $name . &#8220;&#038;&#8221; .<br \/>\n            &#8220;rrn1=&#8221; . $rrn1 . &#8220;&#038;&#8221; .<br \/>\n            &#8220;rrn2=&#8221; . $rrn2 . &#8220;&#038;&#8221; .<br \/>\n            &#8220;date=&#8221; . $date;<br \/>\n  $str = @file( $target );<br \/>\n  if( !$str ) return false; \/\/ \uc811\uc18d \uc2e4\ud328;<\/p>\n<p>  $check = 0;<br \/>\n  $count = 0<br \/>\n  $str_len = sizeof( $str );<br \/>\n  for( $i=0; $i<$str_len; $i++ )<br \/>\n  {<br \/>\n    $c_str = Chop( $str[$i] );<br \/>\n    if( eregi( &#8220;<!-- \ud655\uc778\uacb0\uacfc \uc548\ub0b4\ubb38 \uc2dc\uc791 -->&#8220;, $c_str ) ) $check = 1;<br \/>\n    if( eregi( &#8220;<!-- \ud655\uc778\uacb0\uacfc \uc548\ub0b4\ubb38 \ub05d -->&#8220;, $c_str ) )   break;<br \/>\n    if( $check == 1 ) $count ++;<br \/>\n    if( $count == 6 )<br \/>\n    {<br \/>\n      $c_str = Chop( strip_tags( $c_str ) );<br \/>\n      $message = $c_str;<br \/>\n      return( &#8220;$message&#8221; );<br \/>\n    }<\/p>\n<p>  }<\/p>\n<p>} <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/**************************************************** ** ** \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \uc2e4\uba85 \ud655\uc778 ** ** input : $name : \uc131\uba85 ** $rrn1 : \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \uc55e 6\uc790\ub9ac ** $rrn2 : \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \ub4a4 7\uc790\ub9ac ** $date : \uc8fc\ubbfc\ub4f1\ub85d\uc99d \ubc1c\uae09\uc77c ** ****************************************************\/ function check_resident( $name, $rrn1, $rrn2, $date ) { $target = &#8220;http:\/\/www.egov.go.kr\/main?a=AA090UserRrnCheckApp&#038;&#8221; . &#8220;user_nm=&#8221; . $name . &#8220;&#038;&#8221; . &#8220;rrn1=&#8221; . $rrn1 . &#8220;&#038;&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-813","post","type-post","status-publish","format-standard","hentry","category-papa-php"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=813"}],"version-history":[{"count":0,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/813\/revisions"}],"wp:attachment":[{"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}