Skip to content

mtchang/smsapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

改寫 EVERY8D 簡訊發送的SAMPLE CODE

git clone https://github.com/mtchang/smsapi.git
  • 修改程式碼的帳密及發送簡訊的目標手機號碼
$userid="帳號";	
$password="密碼";	
//接收人之手機號碼。格式為: +886912345678或09123456789。多筆 0912345678,0922333444
$mobile = "09xxxxxxxx";	
  • 使用 PHP 執行程式
$ php ./call_8dsms.php 
array(2) {
  ["CREDIT"]=>
  string(2) "79"
  ["MESSAGE"]=>
  string(22) "目前剩餘 79 點數"
}
array(5) {
  ["CREDIT"]=>
  string(5) "78.00"
  ["SENDED"]=>
  string(1) "1"
  ["COST"]=>
  string(1) "1"
  ["UNSEND"]=>
  string(1) "0"
  ["BATCH_ID"]=>
  string(36) "89cbd1e4-4666-4be0-9d00-3169313a60a0"
}

About

簡訊API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages