|
|
|
نام کاربری | 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 |
ارسال پیامک انبوه
فایل مورد بحث : countrySendResponse
خطا : The username or password is incorrect مربوط به اشتباه بودن نام کاربری یا رمز عبور می باشد.
مشاهده نمونه کدها
<?php //$type = "credit"; //etebari //$type = "fixed"; //sabet /* agar ersal koli ast be sorate : $city_id = json_encode(array("city_id1","city_id2")); unset($pre_id); agar ersal pish shomareh be sorate : $city_id = "city_id1"; $pre_id = json_encode(array("pre_id1","pre_id2")); */ $url = "https://ippanel.com/services.jspd"; $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, "POST"); 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; ?>
آیا این مقاله برای شما مفید بود؟
بله|نه|