{"id":905,"date":"2003-06-13T04:23:45","date_gmt":"2003-06-13T04:23:45","guid":{"rendered":"http:\/\/dev.jblove.net\/?p=905"},"modified":"2003-06-13T04:23:45","modified_gmt":"2003-06-13T04:23:45","slug":"%eb%8b%a4%ec%a4%91%eb%a9%94%ec%9d%bc%eb%b0%9c%ec%86%a1","status":"publish","type":"post","link":"https:\/\/jblove.net\/?p=905","title":{"rendered":"\ub2e4\uc911\uba54\uc77c\ubc1c\uc1a1"},"content":{"rendered":"<p>\ub3d9\uc791\uc740 \ud655\uc2e4\ud788 \ub429\ub2c8\ub2e4.<br \/>\n\ubc97 \uae30\ub2a5\uc744 \ub123\ub2e4\uac00 \ub9d0\uc558\uc2b5\ub2c8\ub2e4. \ud544\uc694\uac00 \uc5c6\uc5b4\uc11c\ub9ac&#8230;.^-^ \ub2e4\ub978\uc0ac\ub78c\uc774 \uc644\uc131\ucacc \ud574\uc8fc\uc138\uc694 <br \/>\n2\uc77c \uac78\ub838\uc2b5\ub2c8\ub2e4. \u3160.\u3160 php \uc811\ud55c\uc9c0 \ud55c 7\uc77c \ub41c\uac70 \uac19\uad70\uc694 -.-;;;;;<\/p>\n<p>\uace0\ub85c \ud5c8\uc811\ud569\ub2c8\ub2e4. but \uac15\ub825\ud569\ub2c8\ub2e4.<\/p>\n<p>html \ub85c \uc2a4\ud3a8\uba54\uc77c \ub0a0\ub9ac\ub294\uac83 \uac00\ub2a5\ud569\ub2c8\ub2e4. \ubc1b\ub294\uc774\uc5d0 \uc774\ub984\uc744 \uc801\uc73c\uba74(\uc5ec\ub7ec\uba85 \ubc1b\uc544\uc57c \ud560\uacbd\uc6b0 \uc138\ubbf8\ucf5c\ub860\uc73c\ub85c \ubd99\uc5ec\uc11c \ubcf4\ub0b4\ub450 \ub418\uace0 \ucef4\ub9c8\ub8e8 \ubd99\uc5ec\ub3c4 \ub429\ub2c8\ub2e4. ) \ubc1b\ub294\uc774 \ud55c\uba85\uc5d0\uac8c\ub9cc \uac00\uace0<br \/>\n\ubc1b\ub294\uc774\uc5d0 \uc774\ub984\uc774 \uc5c6\uc73c\uba74 \uc11c\ubc84\uc758 \ud574\ub2f9\ud3f4\ub354\uc758 fli.txt \ud30c\uc77c\uc758 \ub0b4\uc6a9\uc744 \ud55c\uc904\uc529 \uc77d\uc5b4 \ud3b8\uc9c0\ub97c \ubd80\uce69\ub2c8\ub2e4. <\/p>\n<p>\uc544\ubb34\uac83\ub3c4 \uc5c6\uc774 \uc774\uba54\uc77c\ub9cc \uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4.<br \/>\n1@1.com<br \/>\n2@2.com<br \/>\n\uc774\ub7f0\uc2dd\uc73c\ub85c <\/p>\n<p>\uadf8\ub7fc \uc720\uc6a9\ud558\uac8c \uc4f0\uc2dc\uad6c\uc694 \uc18c\uc2a4 \uc218\uc815\ud574\uc11c \uc880 \uc774\uc058\uac8c \ub9cc\ub4e4\uc5b4 \uc8fc\uc138\uc694<\/p>\n<p>\n\uc81c\uc791\uc790 \uc11d\uc774<br \/>\n\uc5f0\ub77d\ucc98 01195850915<br \/>\nminsouk@hotmail.com<br \/>\nwebmaster@netmask.co.kr<\/p>\n<p><?php\n\n\nfunction mailer_header()<br \/>\n{<br \/>\n?><br \/>\n<HTML><br \/>\n<HEAD><TITLE> \uc73c\ub2c8\uc640 \uc11d\uc774\uc758 mailer <\/title><\/head><br \/>\n<body><br \/>\n<?php<br \/>\n}<\/p>\n<p>function mailer_footer()<br \/>\n{<br \/>\n?><br \/>\n<\/body><br \/>\n<\/html><br \/>\n<?php<br \/>\n}<\/p>\n<p>function error_message($msg)<br \/>\n{<br \/>\n        mailer_header();<br \/>\n        echo&#8221;<script>alert(\"\uc624\ub958: $msg\");history.go(-1)<\/script>&#8220;;<br \/>\n        mailer_footer();<br \/>\n        exit;<br \/>\n}<\/p>\n<p>function user_message($msg)<br \/>\n{<br \/>\n        mailer_header();<br \/>\n        echo &#8220;<script>alert(\"$msg\");history.go(-1)<\/script>&#8220;;<br \/>\n        mailer_footer();<br \/>\n        exit;<br \/>\n}<\/p>\n<p>function mail_form()<br \/>\n{<br \/>\n        global $PHP_SELP;<br \/>\n?><br \/>\n                <!-- \uc785\ub825\ubd80\ubd84 \ud3fc \ubd80\ubd84\uc774\ub2e4 --><\/p>\n<div align=\"center\"><\/p>\n<form enctype=\"multipart\/form-data\" method=\"post\" action=\"<?php echo $PHP_SELF ?>&#8220;><br \/>\n        <input type=\"hidden\" NAME=\"action\" VALUE=\"send_mail\"><\/p>\n<table width=\"100%\" height=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><\/p>\n<tr bgcolor=\"#666666\"><\/p>\n<td colspan=\"2\"><\/p>\n<p align=\"center\"><b><font color=\"#FFFFFF\"><\/p>\n<p>                  \uc774\ubc88\uc5d0\ub294 php \ub85c \ucca8\ubd80\ud30c\uc77c\uc744 \ud3ec\ud568\ud55c \uba54\uc77c \ubcf4\ub0b4\uae30 \uc785\ub2c8\ub2e4.<\/p>\n<p>                  2003\ub144 6\uc6d4 11\uc77c \uc11d\uc774\uac00 \ub9cc\ub4e4\uc5c8\uc74c<\/font><\/b><font color=\"white\"> <br \/>\n                  <\/font><\/p>\n<p>\n                <\/td>\n<p>\n            <\/tr>\n<p><\/p>\n<tr bgcolor=\"#FFFFFF\"><\/p>\n<td width=\"22%\">\n<p>                &nbsp;&nbsp;\ubc1b\ub294\uc0ac\ub78c<\/td>\n<p><\/p>\n<td width=\"78%\">\n<p>                <input type=\"text\" name=\"mail_to\">\n              <\/td>\n<p>\n            <\/tr>\n<p><\/p>\n<tr bgcolor=\"#FFFFFF\"><\/p>\n<td width=\"22%\">\n<p>                &nbsp;&nbsp;\ubcf4\ub0b4\ub294\uc0ac\ub78c<\/td>\n<p><\/p>\n<td width=\"78%\">\n<p>                <input type=\"text\" name=\"mail_from\">\n              <\/td>\n<p>\n            <\/tr>\n<p><\/p>\n<tr bgcolor=\"#FFFFFF\"><\/p>\n<td width=\"22%\">&nbsp;&nbsp;\ub2f5\uc7a5\ubc1b\ub294\uc774<\/td>\n<p><\/p>\n<td width=\"78%\">\n                <input type=\"text\" name=\"mail_reply_to\">\n              <\/td>\n<p>\n                        <\/tr>\n<p><\/p>\n<tr bgcolor=\"#FFFFFF\"><\/p>\n<td width=\"22%\">&nbsp;&nbsp;\uba54\uc2dc\uc9c0\uc720\ud615<\/td>\n<p><\/p>\n<td width=\"78%\">\n                <input type=\"radio\" name=\"mail_type\" value=\"text\"><br \/>\n                TEXT <br \/>\n                <input type=\"radio\" name=\"mail_type\" value=\"html\" checked><br \/>\n                HTML <\/td>\n<p>\n            <\/tr>\n<p><\/p>\n<tr bgcolor=\"#FFFFFF\"><\/p>\n<td width=\"22%\">&nbsp;&nbsp;\uc81c\ubaa9<\/td>\n<p><\/p>\n<td width=\"78%\">\n                <input type=\"text\" name=\"mail_subject\" size=\"50\">\n              <\/td>\n<p>\n            <\/tr>\n<p><\/p>\n<tr bgcolor=\"#FFFFFF\"><\/p>\n<td width=\"22%\">&nbsp;&nbsp;\ubcf8\ubb38<\/td>\n<p><\/p>\n<td width=\"78%\">\n                <TEXTAREA NAME=\"mail_body\" ROWS=10 COLS=50><\/TEXTAREA>\n              <\/td>\n<p>\n            <\/tr>\n<p><\/p>\n<tr bgcolor=\"#FFFFFF\"><\/p>\n<td width=\"22%\"><\/p>\n<div align=\"left\">\n                  <input type=\"submit\" name=\"submit\" value=\"\ubcf4\ub0b4\uae30\">\n                <\/div>\n<p>\n              <\/td>\n<p><\/p>\n<td width=\"78%\"><\/p>\n<div align=\"center\">\n                  <input type=\"reset\" name=\"reset\" value=\"\ub2e4\uc2dc\uc4f0\uae30\">\n                <\/div>\n<p>\n              <\/td>\n<p>\n            <\/tr>\n<p>\n          <\/table>\n<p>\n                  <\/form>\n<p>\n<\/div>\n<p>\n<!-- form \ubb38\uc758 \uc644\uc131 --><br \/>\n<?php<br \/>\n}<\/p>\n<p>function my_mail($mail_parts){<br \/>\n        $mail_to = $mail_parts[&#8220;mail_to&#8221;];<br \/>\n        $mail_from = $mail_parts[&#8220;mail_from&#8221;];<br \/>\n        $mail_reply_to = $mail_parts[&#8220;mail_reply_to&#8221;];<br \/>\n        $mail_subject = $mail_parts [&#8220;mail_subject&#8221;];<br \/>\n        $mail_body = stripslashes($mail_parts [&#8220;mail_body&#8221;]);<br \/>\n\/\/        $mail_body = htmlspecialchars($mail_body);<br \/>\n        $mail_to = str_replace(&#8220;;&#8221;, &#8220;,&#8221;, $mail_to);<\/p>\n<p>        $headers =&#8221;;<br \/>\n        $headers = &#8220;From: $mail_from<br \/>\n&#8220;;<br \/>\n        if(!empty($mail_from)) $mail_headers .=&#8221;From: $mail_from<br \/>\n&#8220;;<br \/>\n        if($mail_type == &#8216;html&#8217;)<br \/>\n        {<br \/>\n                $headers .= &#8220;MIME-Version: 1.0<br \/>\n&#8220;; <br \/>\n\/\/                $headers .= &#8220;Content-type: text\/html; charset=iso-8859-1<br \/>\n&#8220;; <br \/>\n                $headers .= &#8220;Content-type: text\/html; charset=euc-kr<br \/>\n&#8220;; <br \/>\n                $headers .= &#8220;X-Priority: 1<br \/>\n&#8220;; <br \/>\n                $headers .= &#8220;X-MSMail-Priority: High<br \/>\n&#8220;;<br \/>\n                $headers .= &#8220;X-Mailer: fli@yu.ac.kr&#8221;;<br \/>\n        }<br \/>\n        else<br \/>\n        {<br \/>\n                $headers .=&#8221;Content-type: text\/html; charset=euc_kr<br \/>\n&#8220;;<br \/>\n                $headers .=&#8221;Content-transfer-encoding:$mail_encoding<\/p>\n<p>&#8220;;<br \/>\n        }<br \/>\n        return mail($mail_to, $mail_subject, $mail_body, $headers);<br \/>\n}<\/p>\n<p>function send_mail()<br \/>\n{<br \/>\n        global $mail_to, $mail_from, $mail_reply_to;<br \/>\n        global $mail_subject, $mail_body, $mail_type;<\/p>\n<p>        if(empty($mail_to)){<br \/>\n                $team_mates = &#8220;.\/fli.txt&#8221;;<br \/>\n                $emails = file($team_mates);<br \/>\n                        for($i=0; $i< count($emails); $i++) $emails[$i] = trim($emails[$i]);<br \/>\n                        $mail_team = implode(&#8220;,&#8221;, $emails);<br \/>\n                        $mail_parts[&#8220;mail_to&#8221;] = $mail_team;<br \/>\n                        $mail_parts[&#8220;mail_from&#8221;] = $mail_from;<br \/>\n                        $mail_parts[&#8220;mail_reply_to&#8221;] = $mail_reply_to;<br \/>\n                        $mail_parts[&#8220;mail_type&#8221;] = html;<br \/>\n                        $mail_parts[&#8220;mail_subject&#8221;] = trim($mail_subject);<br \/>\n                        $mail_parts[&#8220;mail_body&#8221;] = trim($mail_body);<br \/>\n        }<br \/>\n        else{<br \/>\n        $mail_parts[&#8220;mail_to&#8221;] = $mail_to;<br \/>\n        $mail_parts[&#8220;mail_from&#8221;] = $mail_from;<br \/>\n        $mail_parts[&#8220;mail_reply_to&#8221;] = $mail_reply_to;<br \/>\n        $mail_parts[&#8220;mail_type&#8221;] = $mail_type;<br \/>\n        $mail_parts[&#8220;mail_subject&#8221;] = trim($mail_subject);<br \/>\n        $mail_parts[&#8220;mail_body&#8221;] = $mail_body;<br \/>\n        }<br \/>\n        if(my_mail($mail_parts))<br \/>\n                user_message(&#8220;&#8216;$mail_subject&#8217;\ub780 \uba54\uc77c\uc744 \ubcf4\ub0c8\uc2b5\ub2c8\ub2e4.&#8221;);<br \/>\n        else error_message(&#8220;&#8216;$mail_subject&#8217;\ub780 \uc81c\ubaa9\uc758 \uba54\uc77c \uc804\uc1a1 \uc911 \uc5d0\ub7ec.&#8221;);<br \/>\n}<\/p>\n<p>switch ($action)<br \/>\n{<br \/>\n        case &#8220;send_mail&#8221;:<br \/>\n                mailer_header();<br \/>\n                send_mail();<br \/>\n                mailer_footer();<br \/>\n                break;<br \/>\n        case &#8220;mail_from&#8221;:<br \/>\n                mailer_header();<br \/>\n                mail_form();<br \/>\n                mailer_footer();<br \/>\n                break;<br \/>\n        default:<br \/>\n                mailer_header();<br \/>\n                mail_form();<br \/>\n                mailer_footer();<br \/>\n                break;<br \/>\n} <\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub3d9\uc791\uc740 \ud655\uc2e4\ud788 \ub429\ub2c8\ub2e4. \ubc97 \uae30\ub2a5\uc744 \ub123\ub2e4\uac00 \ub9d0\uc558\uc2b5\ub2c8\ub2e4. \ud544\uc694\uac00 \uc5c6\uc5b4\uc11c\ub9ac&#8230;.^-^ \ub2e4\ub978\uc0ac\ub78c\uc774 \uc644\uc131\ucacc \ud574\uc8fc\uc138\uc694 2\uc77c \uac78\ub838\uc2b5\ub2c8\ub2e4. \u3160.\u3160 php \uc811\ud55c\uc9c0 \ud55c 7\uc77c \ub41c\uac70 \uac19\uad70\uc694 -.-;;;;; \uace0\ub85c \ud5c8\uc811\ud569\ub2c8\ub2e4. but \uac15\ub825\ud569\ub2c8\ub2e4. html \ub85c \uc2a4\ud3a8\uba54\uc77c \ub0a0\ub9ac\ub294\uac83 \uac00\ub2a5\ud569\ub2c8\ub2e4. \ubc1b\ub294\uc774\uc5d0 \uc774\ub984\uc744 \uc801\uc73c\uba74(\uc5ec\ub7ec\uba85 \ubc1b\uc544\uc57c \ud560\uacbd\uc6b0 \uc138\ubbf8\ucf5c\ub860\uc73c\ub85c \ubd99\uc5ec\uc11c \ubcf4\ub0b4\ub450 \ub418\uace0 \ucef4\ub9c8\ub8e8 \ubd99\uc5ec\ub3c4 \ub429\ub2c8\ub2e4. ) \ubc1b\ub294\uc774 \ud55c\uba85\uc5d0\uac8c\ub9cc \uac00\uace0 \ubc1b\ub294\uc774\uc5d0 \uc774\ub984\uc774 \uc5c6\uc73c\uba74 \uc11c\ubc84\uc758 \ud574\ub2f9\ud3f4\ub354\uc758 fli.txt \ud30c\uc77c\uc758 \ub0b4\uc6a9\uc744 [&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-905","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\/905","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=905"}],"version-history":[{"count":0,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/905\/revisions"}],"wp:attachment":[{"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}