Apsara friends free sms api php open-source edition, supports the group function. Apsara friends free sms api php open-source edition, supports the group function.
1. supports group sending (if you need to group multiple numbers, separate them with commas (,) (159, 159 ..))
2. supports data submission in POST or GET mode.
Site interface:
Https://www.php1.cn/mobile phone number of the flying letter &passowrd=mobile phone password of the flying letter &tow.recipient's phone number &message=sms content
Or
Https://www.php1.cn/mobile phone number of the flying letter &p;phone password of the flying letter &t;receiver's number &m=text message content
You can also download the source code to your website.
The code is as follows:
/*
Required PHP extensions: curl and simplexml
*/
Include "libs/fetion. class. php ";
# Set the Apsara stack account password
$ Username = "15900000000 ";
$ Password = "password ";
// Receive number. multiple numbers are separated by commas (,) (159, 159 ..)
$ Sendto = "15900000000,13400000000 ";
// Message content
$ Message = "I am from heqee.com ";
// Instantiate (required)
$ Fetion = new fetion ($ username, $ password );
// Send a Boolean response
$ Sms = $ fetion-> send ($ sendto, $ message );
If ($ sms ){
Echo "OK ";
}
?>
Open source download https://www.php1.cn/