SMS ¿¬µ¿Çϱâ - ¹®ÀÚ´ëÇ¥

SMS ¿¬µ¿Çϱâ,SMS¿¬µ¿Çϱâ,MMS¿¬µ¿Çϱâ,LMS¿¬µ¿Çϱâ,¹®ÀÚ¿¬µ¿,SMSASP,±â¾÷ÇüSMS,±â¾÷ÇüMMS,SMSASP,SMSAPI,¼îÇθô¹®ÀÚ,ȸ¿ø°¡ÀÔ¹®ÀÚ,¹®ÀÚ»ó´ã,¹®Àڹ߼۽ýºÅÛ,¹®Àڹ߼ÛAPI

¹®ÀÚ´ëÇ¥ Áñ°Üã±âÃß°¡ Áñ°Üã±â Ãß°¡ ¹®ÀÚ´ëÇ¥ ¹Ù·Î°¡±â ¹ÙÅÁÈ­¸é ¹Ù·Î°¡±â ¹®ÀÚ´ëÇ¥ ¹Ù·ÎÁ¢¼Ó ¹Ù·ÎÁ¢¼Ó Off ¹«·áȸ¿ø°¡ÀÔ ¿ä±ÝÃæÀü 1:1 °í°´»ó´ã ´Ü°¡¹®ÀÇ
´ëÇ¥¹®ÀÚ¼­ºñ½º! ¹®ÀÚ´ëÇ¥!!
Æ÷ÅлçÀÌÆ®¿¡¼­ ¹®ÀÚ´ëÇ¥¸¦ °Ë»öÇϼ¼¿ä. ´ë·®¹®ÀÚ/¼±°Å¹®ÀÚ ´Ü°¡¹®ÀÇ
´ë¹Ú³ª´Â ÇÏ·çµÇ¼¼¿ä..
ÀϹݹ®ÀÚ Àå¹®¹®ÀÚ »çÁø/±×¸²¹®ÀÚ ¼±°Å¹®ÀÚ Á¾±³¹®ÀÚ À̸ðƼÄÜ ÁÖ¼Ò·Ï ¿¹¾à/Àü¼Û³»¿ª
 ¾ÆÀ̵ð/ºñ¹Ð¹øȣã±â
¹«·áȸ¿ø°¡ÀÔ
ÀϹݹ®ÀÚ
¹®ÀÚÀü¼Û
ÁÖ¼Ò·Ï ´ë·®/´ÜüÀü¼Û
¿¢¼¿´ë·®Àü¼Û
- ÀϺΠ¹Ù²ã Àü¼Û
- ´Ù¸¥ ³»¿ë Àü¼Û
ºÐÇÒÀü¼Û

SMS ¿¬µ¿Çϱâ

¹®ÀÚÀü¼Û > SMS ¿¬µ¿Çϱâ 
¤ý°¢Á¾°Ô½ÃÆÇ, ¹®ÀÇ, ¼îÇθô ÁÖ¹®±ÛÀÌ µî·ÏµÇ¾úÀ»¶§ °ü¸®ÀÚ ÇÚµåÆùÀ¸·Î ¹Þ°í ½ÍÀº°æ¿ì
¤ý¼­¹ö°ü¸® ¹× ÀÌ¿ëÀÚ°ü¸®·Î ÀÎÇØ ¼ö½Ã·Î ¸Þ¼¼Áö¸¦ ¹Þ°íÀÚ ÇÒ¶§
¤ý¾Æ·¡ÀÇ ÆäÀÌÁö·Î º¸³»½Ã·Á´Â ¹®ÀÚ³»¿ë°ú ÈÞ´ëÆù¹øÈ£¸¦ Àü´ÞÇÏ¸é ¹®ÀÚ¸¦ Àü¼ÛÇÒ ¼ö ÀÖ½À´Ï´Ù.
ÀϹݹ®ÀÚ(SMS) ¿¬µ¿ Àå¹®¹®ÀÚ(LMS) ¿¬µ¿ ±×¸²¹®ÀÚ(MMS) ¿¬µ¿ Àܾ×Á¶È¸  
1. Àü¼Û°æ·Î
http://link.smsceo.co.kr/sendsms_euckr.php (charset ÀÌ euc-krÀÏ°æ¿ì)
http://link.smsceo.co.kr/sendsms_utf8.php (charset ÀÌ utf-8ÀÏ°æ¿ì)
1.1 Å×½ºÆ® Àü¼Û°æ·Î
http://link.smsceo.co.kr/sendsms_test.php
Å×½ºÆ® Àü¼Û½Ã ½ÇÁ¦ °ú±ÝÀº ÀÌ·ç¾îÁöÁö ¾ÊÀ¸¸ç °á°ú Äڵ常 º¸½Ç ¼ö ÀÖ½À´Ï´Ù.
2. Àü´Þ°ª
Àü´Þº¯¼ö ¼³¸í
* userkey ÀÎÁõÅ°¸¦ ºÎ¿©¹Þ¾Æ ÀÔ·ÂÇϼ¼¿ä.
* userid ¹®ÀÚ´ëÇ¥ »ç¿ëÀÚ ¾ÆÀ̵𸦠ÀÔ·ÂÇϼ¼¿ä.
* msg Àü´Þ³»¿ë ( ¿¹: ÁÖ¹®ÇϽŠ¹°Ç°ÀÌ ¹è¼Û󸮵Ǿú½À´Ï´Ù..^^* )
³»¿ëÀº 90 byte(¿µ¹® 90ÀÚ, ÇÑ±Û 45ÀÚ)±îÁö À¯È¿ÇÕ´Ï´Ù. ÃÊ°úµÈ ¸Þ¼¼Áö´Â »èÁ¦µÇ¾î Àü¼ÛµË´Ï´Ù.
* °³Ç๮Á¦°¡ ¹ß»ýÇÏ´Â °æ¿ì, '<br>'Åױ׸¦ ÀÌ¿ëÇϽñ⠹ٶø´Ï´Ù.
* phone ¹Þ´Â»ç¶÷ÀÌ ¿©·¯¸íÀÏ °æ¿ì | ·Î ±¸ºÐ
À߸øµÈ ÀüÈ­¹øÈ£ÀÎ °æ¿ì Àü¼ÛµÇÁö ¾Ê½À´Ï´Ù.
¿¬¶ô¹ÞÀ» ÀüÈ­¹øÈ£(¼ýÀÚ¸¸ ÀÔ·Â ¿¹:0119871234)
* callback ¹®ÀÚ¸Þ¼¼Áö º¸³»´Â »ç¶÷ÀüÈ­¹øÈ£(¼ýÀÚ¸¸ ÀÔ·Â ¿¹:021234567)
°³Á¤µÈ ¹ý¿¡ µû¶ó ÀÎÁõµÈ ȸ½Å¹øÈ£¸¸ ÀÌ¿ë°¡´ÉÇÕ´Ï´Ù.
send_date ¿¹¾àÀü¼ÛÀÏ°æ¿ì ³¯Â¥ÀÔ·Â. °ªÀÌ ¾ø°Å³ª ÀÌÀü ³¯Â¥À̸é Áï½ÃÀü¼Û( ¿¹: 2003-12-30 22:10:00 )
return_url Àü¼Û ÈÄ À̵¿ÇÒ URL, °á°úÄÚµå¿Í ¸Þ¼¼Áö, ³²ÀºÀܾ×, ÃÑ Á¢¼ö°Ç¼ö, ¼º°ø°Ç¼ö, ½ÇÆаǼö µîÀÇ Á¤º¸¸¦ ¹Þ¾Æ º¸½Ç ¼ö ÀÖ½À´Ï´Ù.
return_urlÀ» ±âÀÔÇÏÁö ¾ÊÀ¸½Ã¸é À§ Á¤º¸µéÀÌ ÆäÀÌÁö¿¡ Ãâ·ÂµË´Ï´Ù.
¾Æ·¡ 4¹ø Ç׸ñ, °á°úÄÚµå/¼³¸í ¹× Ãâ·ÂÇü½Ä ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù.
return_var °í°´²²¼­ ³Ñ±ä º¯¼ö¸¦ °á°úÄÚµå¿Í ÇÔ²² return_url·Î º¸³»µå¸³´Ï´Ù.( ¿¹ : º¯¼ö¸í^°ª|º¯¼ö¸í^°ª )
3. ¼ö½ÅÀÚ À̸§ ÀÚµ¿ÀÔ·Â
phone °ªÀ» ¾Æ·¡¿Í °°ÀÌ "ÈÞ´ëÆù¹øÈ£^À̸§" °ú °°ÀÌ '^'¹®ÀÚ·Î ±¸ºÐÇؼ­ ÀÔ·ÂÇϽðí, msg°ª¿¡ "[*À̸§*]" À̶ó´Â ¹®±¸¸¦ ÀÔ·Â ÈÄ Àü¼ÛÇÏ½Ã¸é µË´Ï´Ù.

¿¹)
...
<input type="type" name="phone" value="01012341234^È«±æµ¿|0113451234^±è¿µÈñ">
...
<input type="type" name="msg" value="[*À̸§*]´Ô, ÁÖ¹®ÇϽŠ¹°Ç°ÀÌ ¹è¼Û󸮵Ǿú½À´Ï´Ù.">
4. °á°úÄÚµå/¼³¸í ¹× Ãâ·ÂÇü½Ä
4.1 °á°úÄÚµå/¼³¸í
result_code result_msg
1 ¼º°ø
2 ÀÎÁõÅ° ¿À·ù
3 userid¿¡ ÇØ´çÇÏ´Â »ç¿ëÀÚ ¾øÀ½
4 ¹Þ´Â»ç¶÷ ¹øÈ£¿À·ù
(¿Ã¹Ù¸¥ ¹øÈ£°¡ ÇѰǵµ ¾øÀ»¶§ ¸®ÅϵǸç, ¿©·¯°Ç Áß ÇÑ°ÇÀÌ¶óµµ Àü¼Û¼º°øÀ϶§ result_code´Â 1(¼º°ø)·Î ¸®Åϵ˴ϴÙ. ¼º°ø°Ç¼ö, ½ÇÆаǼö´Â succ_count, fail_count º¯¼ö¸¦ ÂüÁ¶ÇÏ½Ã¸é µË´Ï´Ù.)
5 º¸³»´Â»ç¶÷ ¹øÈ£¿À·ù
6 ¿¹¾à½Ã°£ ¿À·ù
7 Àܾ׺ÎÁ·
8 ±âŸ¿À·ù
10 ¹Ìµî·ÏµÈ ȸ½Å¹øÈ£
4.2 Ãâ·ÂÇü½Ä
return_url ÁöÁ¤½Ã return_url?result_code=°á°úÄÚµå&result_msg=°á°ú¸Þ¼¼Áö&total_count=ÃÑ Á¢¼ö°Ç¼ö&succ_count=¼º°ø°Ç¼ö&fail_count=½ÇÆаǼö&money=³²ÀºÀÜ¾× À¸·Î ¸®´ÙÀÌ·º¼Ç
return_url ¹ÌÁöÁ¤½Ã result_code=°á°úÄÚµå&result_msg=°á°ú¸Þ¼¼Áö&total_count=ÃÑ Á¢¼ö°Ç¼ö&succ_count=¼º°ø°Ç¼ö&fail_count=½ÇÆаǼö&money=³²ÀºÀÜ¾× À» Ãâ·Â
5. ¿¬µ¿¿¹Á¦
5.1 html ¿¬µ¿ ¹æ½Ä
<form name="smsform" method="POST" action="http://link.smsceo.co.kr/sendsms_euckr.php">
<input type="hidden" name="userkey" value="ÀÎÁõÅ°">
<input type="hidden" name="userid" value="¹®ÀÚ´ëÇ¥ ¾ÆÀ̵ð">
<input type="hidden" name="msg" value="¾È³çÇϼ¼¿ä. ¹®ÀÚ´ëÇ¥ÀÔ´Ï´Ù.">
<input type="hidden" name="phone" value="01022223333">
<input type="hidden" name="callback" value="01022223333">
<input type="hidden" name="send_date" value="2011-01-11 00:00:00">
<input type="hidden" name="return_url" value="http://[°í°´´ÔÀÇ È¨ÆäÀÌÁö url]/result.htm">
<input type="hidden" name="return_var" value="">
</form>

<script>
document.smsform.submit();
</script>

form submit ¹æ½ÄÀº ¼Ò½ºº¸±â·Î ÀÎÁõÅ°°¡ ³ëÃâµÉ ¼ö ÀÖÀ¸´Ï, °ü¸®ÀÚ¸¸ Àü¼ÛÆäÀÌÁö¸¦ º¼ ¼ö ÀÖµµ·Ï ÇϽñ⠹ٶø´Ï´Ù.
5.2 php ¿¬µ¿ ¹æ½Ä
<?
// php.ini ÆÄÀÏ¿¡¼­ allow_url_fopen °ªÀÌ OnÀ¸·Î µÇ¾îÀÖ¾î¾ß ÇÕ´Ï´Ù.
// return_url º¯¼ö¿Í return_var º¯¼ö´Â »ç¿ëµÇÁö ¾Ê½À´Ï´Ù.
function sendsms($url)
{
	$result = file_get_contents($url);
	$result = trim($result);
	parse_str($result, $result_var);

	return $result_var;
}
	
$userkey = "ÀÎÁõÅ°";
$userid = "¹®ÀÚ´ëÇ¥ ¾ÆÀ̵ð";
$phone = "01122223333";
$callback = "01022223333";

$msg = urlencode("¾È³çÇϼ¼¿ä. ¹®ÀÚ´ëÇ¥ÀÔ´Ï´Ù.");

$send_date = urlencode("2011-01-11 00:00:00");	// ¿¹¾à¸Þ¼¼ÁöÀÏ °æ¿ì »ç¿ëÇϽñ⠹ٶø´Ï´Ù.

// ¾Æ·¡ µÎ °ªÀº »ç¿ëµÇÁö ¾Ê½À´Ï´Ù.
//$return_url = "";
//$return_var = "";

$url = "http://link.smsceo.co.kr/sendsms_euckr.php?userkey=" . $userkey;
$url .= "&userid=" . $userid;
$url .= "&phone=" . $phone;
$url .= "&callback=" . $callback;
$url .= "&msg=" . $msg;
$url .= "&send_date=" . $send_date;

$result = array();
$result = sendsms($url); // °á°ú Ãâ·ÂÇü½ÄÀ» Âü°íÇϼ¼¿ä.
// print_r($result);	

if($result['result_code'] == "1") // Àü¼Û¼º°ø
{
	echo "°á°úÄÚµå : " . $result['result_code'];
	echo "¸Þ¼¼Áö : " . $result['result_msg'];
	echo "ÃÑ Á¢¼ö°Ç¼ö : " . $result['total_count'];
	echo "¼º°ø°Ç¼ö : " . $result['succ_count'];
	echo "½ÇÆаǼö : " . $result['fail_count'];
	echo "ÀÜ¾× : " . $result['money'];
}
else 
{
	echo "°á°úÄÚµå : " . $result['result_code'];
	echo "¸Þ¼¼Áö : " . $result['result_msg'];
}
?>
5.3 asp ¿¬µ¿ ¹æ½Ä
<%
Function SendSMS(url)
	Dim result
	Dim xmlHttp

	Set xmlHttp = Server.CreateObject("Microsoft.XMLHTTP")
	xmlHttp.open "GET", Xurl, False
	xmlHttp.setRequestHeader "Content-Type","text/xml"
	xmlHttp.setRequestHeader "Accept-Language","ko"
	xmlHttp.send

	If xmlHttp.status = 200 then
		result = xmlHttp.responseText
	Else
		result = "fail"
	End if

	Set xmlHttp = Nothing

	SendSMS = result
End Function

Dim userKey, userId, phone, callback, msg, sendDate, returnUrl, returnVar, result, url

userKey = "ÀÎÁõÅ°"
userId = "¹®ÀÚ´ëÇ¥ ¾ÆÀ̵ð"
phone = "01122223333"
callback = "01022223333"

msg = Server.URLEncode("¾È³çÇϼ¼¿ä. ¹®ÀÚ´ëÇ¥ÀÔ´Ï´Ù.")

sendDate = Server.URLEncode("2011-01-11 00:00:00") ' ¿¹¾à¸Þ¼¼ÁöÀÏ °æ¿ì »ç¿ëÇϽñ⠹ٶø´Ï´Ù.

'¾Æ·¡ µÎ °ªÀº »ç¿ëµÇÁö ¾Ê½À´Ï´Ù.
'returnUrl = ""
'returnVar = ""

url = "http://link.smsceo.co.kr/sendsms_euckr.php?userkey=" & userKey;
url = url & "&userid=" & userId;
url = url & "&phone=" & phone;
url = url & "&callback=" & callback;
url = url & "&msg=" & msg;
url = url & "&send_date=" & sendDate;

result = SendSMS(url)

Response.write result °á°ú Ãâ·ÂÇü½ÄÀ» Âü°íÇϼ¼¿ä.
%>
ÀÌ¿ë¾à°ü ½ºÆÔÁ¤Ã¥ °³ÀÎÁ¤º¸Ãë±Þ¹æħ À̸ÞÀÏ ¹«´Ü¼öÁý°ÅºÎ °í°´¼¾ÅÍ Á¦ÈÞ¹®ÀÇ
¿£Ç÷¯½º ´ëÇ¥ ¼º¹Î°æ ¿ï»ê ºÏ±¸ È£°è·Î 371(½Åõµ¿) 201-2È£ ÀüÈ­: 070-8242-7200 Æѽº: 0303-3130-1357
»ç¾÷ÀÚµî·Ï¹øÈ£: 620-11-71585 Åë½ÅÆǸž÷: Á¦ 2011-¿ï»êÁß±¸-0068È£ Ư¼öÇÑ À¯ÇüÀÇ ºÎ°¡Åë½Å»ç¾÷ÀÚ µî·Ï¹øÈ£ : Á¦ 3-02-15-0005È£
Copyrights¨Ï NPlus. All rights reserved.