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:
Http://api.heqee.com/fetion? Username = Feixin mobile phone number & passowrd = Feixin mobile phone password & to = recipient's number & message = SMS content
Or
Http://api.heqee.com/fetion? U = Feixin mobile phone number & p = Feixin mobile phone password & t = recipient's number & m = text message content
You can also download the source code to your website.
Copy codeThe Code is as follows:
<? Php
/*
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 http://www.jb51.net/codes/28628.html