ارسال پیامک انبوه

فایل مورد بحث : countrySend
نام کاربری Char Uname
پسورد
Char
Char
شماره ارسال کننده Char From
پیام Int Message
Id شهر
Char
city_id
Char pre_id
دائمی یا اعتباری Int number_type
Int state_id
ردیف شروع Int from_row
تعداد ارسال پیامک Int count_send

Response

خطا : The username or password is incorrect مربوط به اشتباه بودن نام کاربری یا رمز عبور می باشد.

مشاهده نمونه کدها

<?php //$type = &quot;credit&quot;; //etebari //$type = &quot;fixed&quot;; //sabet /* agar ersal koli ast be sorate : $city_id = json_encode(array(&quot;city_id1&quot;,&quot;city_id2&quot;)); unset($pre_id); agar ersal pish shomareh be sorate : $city_id = &quot;city_id1&quot;; $pre_id = json_encode(array(&quot;pre_id1&quot;,&quot;pre_id2&quot;)); */ $url = &quot;https://ippanel.com/services.jspd&quot;; $param = array ( 'uname'=>'',
						'pass'=>'',
						'from'=>'',
						'message'=>'',
						'city_id'=>$city_id,
						'pre_id'=>$pre_id,
						'number_type'=>$type,
						'state_id'=>'',
						'from_row'=> '3',
                        'count_send' => '2',
						'op'=>'countrysend'
					);

		$handler = curl_init($url);             
		curl_setopt($handler, CURLOPT_CUSTOMREQUEST, &quot;POST&quot;);
		curl_setopt($handler, CURLOPT_POSTFIELDS, $param);                       
		curl_setopt($handler, CURLOPT_RETURNTRANSFER, true);
		$response2 = curl_exec($handler);

		$response2 = json_decode($response2);
		$res_code = $response2[0];
		$res_data = $response2[1];

		echo $res_data;

?>

ارسال پیامک باموفقیت انجام شد!

برای خرید سامانه پیامک همین الان در فراز اس‌ام‌اس ثبت نام کنید

آیا این مقاله برای شما مفید بود؟
بله|نه|

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

این فیلد را پر کنید
این فیلد را پر کنید
لطفاً یک نشانی ایمیل معتبر بنویسید.
برای ادامه، شما باید با قوانین موافقت کنید

فهرست