³»¿ë(¸Þ½ÃÁö) À̹ÌÁö º¯È¯±â´É
ÃßõÀ̹ÌÁö ÀÚµ¿»ý¼º±â´É ¾È³»
ÀÌÅë»çº° ½ºÆÔÂ÷´Ü¼ºñ½º
»ó¾÷¼º(½ºÆÔ) ¹®ÀÚÀü¼Û ¹ý·É
|
- ¹®ÀÚ³ª¶ó À¥»çÀÌÆ® ¹æ¹®¾øÀÌ °í°´¼¹ö¿¡¼ ¹®ÀÚ Àü¼Û
- À¥ÆäÀÌÁö(HTTP)¸¦ È£ÃâÇÏ´Â ¹æ½ÄÀ¸·Î °³¹ß¾ð¾î¿Í »ó°ü¾øÀÌ ¿¬µ¿
- PHP/ASP ¿¹Á¦¼Ò½º¸¦ Á¦°øÇÏ¸ç °ü·Ã ÆÄÀÏÀ» Âü°íÇÏ¿© ½±°Ô ¿¬µ¿
- ±âº» ´Ü°¡ ´Ü¹® 30¿ø, Àå¹® 50¿øÀ̸ç (±×¸²¹®ÀÚ Áö¿øX) ¿ù´©Àû·® ´ë·® ÀÌ¿ë½Ã ´Ü°¡ ÇÒÀΰ¡´É
> ±¸¼º
> ÀýÂ÷
> °í°´»ç
- ±¹¿Ü ¼¹ö(¾ÆÀÌÇÇ)ÀÇ ¿¬µ¿½Ã °í°´¼¾ÅÍ¿¡ ¹®ÀÇ, »çÀüµî·Ï
> ¿¬µ¿°æ·Î
- Àü¼Û¿äû, Àܾ×Á¶È¸ µ¿ÀÏ
- https://munjanara.co.kr/send.sys
> Àü¼Û¿äû - Àü´Þ°ª(ÆĶó¸ÞÅÍ)
> Àü¼Û¿äû - 󸮰á°ú
- °á°ú : °á°úÄÚµå|³²ÀºÀܾ×|Àü¼Û°Ç¼ö|¿¹¾àÀ¯¹«|°í°´Àü´Þ°ª(½Äº°ÀÚ)
> Àܾ×Á¶È¸ - Àü´Þ°ª(ÆĶó¸ÞÅÍ)
> Àܾ×Á¶È¸ - 󸮰á°ú
- °á°ú : À¯·áÀܾ×|¹«·á°Ç¼ö|´Ü¹®´Ü°¡|Àå¹®´Ü°¡
- ÀÌ¿ÜÀÇ °æ¿ì, Àü¼Û¿äû °á°úÄÚµå ÂüÁ¶
> PHP
// ¸Þ½ÃÁö¹ß¼Û function SendMesg($url) { // Å×½ºÆ® ÈÄ, ¼¹ö »óÅ¿¡ µû¶ó ¿øÈ°ÇÑ Á¢¼Ó ¹æ¹ýÀ» ÀÌ¿ëÇØÁÖ¼¼¿ä. //$fp = fsockopen("ssl:munjanara.co.kr", 443, $errno, $errstr, 10); $fp = fsockopen("munjanara.co.kr", 80, $errno, $errstr, 10); if(!$fp){ echo "$errno : $errstr"; exit; } fwrite($fp, "GET $url HTTP/1.0\r\nHost: munjanara.co.kr\r\n\r\n"); $flag = 0; while(!feof($fp)){ $row = fgets($fp, 1024); if($flag) $out .= $row; if($row=="\r\n") $flag = 1; } fclose($fp); return $out; } $userid = ""; // ¹®ÀÚ³ª¶ó ¾ÆÀ̵ð $passwd = ""; // ¹®ÀÚ³ª¶ó 2Â÷ ºñ¹Ð¹øÈ£(·Î±×ÀÎ ÈÄ °³ÀÎÁ¤º¸ ¼öÁ¤¿¡¼ ¼³Á¤) $hpSender = ""; // º¸³»´ÂºÐ ÇÚµåÆù¹øÈ£(¹®ÀÚÀü¼Û¿¡¼ ¹ß½Å¹øÈ£ ÀÎÁõ ÇÊ¿ä!) $hpReceiver = ""; // ¹Þ´ÂºÐÀÇ ÇÚµåÆù¹øÈ£ $adminPhone = ""; // ºñ»ó½Ã ¸Þ½ÃÁö¸¦ ¹ÞÀ¸½Ç °ü¸®ÀÚ ÇÚµåÆù¹øÈ£ $hpMesg = ""; // ¸Þ½ÃÁö /* UTF-8 ±ÛÀڼ ÀÌ¿ëÀ¸·Î ÇѱÛÀÌ ±úÁö´Â °æ¿ì¿¡¸¸ ÁÖ¼®À» Ǫ¼¼¿ä. */ //$hpMesg = iconv("UTF-8", "EUC-KR","$hpMesg"); /* ---------------------------------------- */ $hpMesg = urlencode($hpMesg); $endAlert = 1; // Àü¼Û¿Ï·á¾Ë¸²Ã¢ ( 1:¶ç¿ò, 0:¾È¶ç¿ò ) // ÇÑÁÙ·Î À̾±â Çϼ¼¿ä. echo SendMesg("/MSG/send/web_admin_send.htm?userid=$userid&passwd=$passwd&sender=$hpSender& receiver=$hpReceiver&encode=1&end_alert=$endAlert&message=$hpMesg"); > ASP
FUNCTION SendMesg(url) Dim RStr Dim xmlHttp SET xmlHttp = Server.CreateObject("Microsoft.XMLHTTP") xmlHttp.open "GET", url, False xmlHttp.setRequestHeader "Content-Type","text/xml" xmlHttp.setRequestHeader "Accept-Language","ko" xmlHttp.send if xmlHttp.status = 200 then RStr = xmlHttp.responseText Else RStr = "get_fail" End if SET xmlHttp = Nothing SendMesg = RStr END FUNCTION Dim userid ' ¹®ÀÚ³ª¶ó ¾ÆÀ̵ð Dim passwd ' ¹®ÀÚ³ª¶ó 2Â÷ ºñ¹Ð¹øÈ£ Dim hpSender ' º¸³»´ÂºÐ ÇÚµåÆù¹øÈ£ Dim hpReceiver ' ¹Þ´ÂºÐÀÇ ÇÚµåÆù¹øÈ£ Dim adminPhone ' ºñ»ó½Ã ¸Þ½ÃÁö¸¦ ¹ÞÀ¸½Ç °ü¸®ÀÚ ÇÚµåÆù¹øÈ£ Dim hpMesg ' ¸Þ½ÃÁö Dim url Dim result userid = "" passwd = "" hpSender = "" hpReceiver = "" adminPhone = "" hpMesg = Server.URLEncode("") url = "https://www.munjanara.co.kr/MSG/send/web_admin_send.htm?userid=" & userid &_ "&passwd=" & passwd & "&sender=" & hpSender & "&receiver=" &_ hpReceiver & "&encode=1&message=" & hpMesg result = SendMesg(url) Response.write result |
ÀÌ¿ë¾à°ü°³ÀÎÁ¤º¸Ã³¸®¹æħ±¤°í±ÔÁ¤¾È³»ÀÌ¿ë¾È³»¸ð¹ÙÀϹöÀü | ||
ÁÖ¼Ò : ¼¿ï½Ã °³²±¸ Å×Çì¶õ·Î 311 ¾Æ³²Å¸¿öºôµù, (ÁÖ)¹®ÀÚ³ª¶ó ´ëÇ¥ÀÚ : È«¼ºÇÏ |
||
»ç¾÷ÀÚ¹øÈ£ : 220-81-15616 Åë½ÅÆǸž÷½Å°í : Á¦°³²-1087È£ ¹®ÀÇ : 1588-5407, manager1@munjanara.co.kr | ||
COPYRIGHT ¨Ï 2003 MUNJANARA Co.,Ltd ALL RIGHTS RESERVED
|