1, support mass (if need to bulk multi-number in English comma (,) separated (159..,159))
2, support post or Get method to submit data
The site interface:
Http://api.heqee.com/fetion/?username= fetion Mobile phone number &passowrd= fetion phone password &to= receiver number &message= SMS content
Or
http://api.heqee.com/fetion/?u= fetion Mobile phone number &p= fetion phone password &t= receiver number &m= SMS content
You can also download source stacking on your own website
Copy the Code code as follows:
/*
PHP Extensions required: curl, SimpleXML
*/
Include "libs/fetion.class.php";
#设置飞信帐号密码
$username = "15900000000";
$password = "password";
Receive number, multiple numbers with "," Delimited (159..,159.)
$sendto = "15900000000,13400000000";
Message content
$message = "I am from heqee.com";
Instantiation (required)
$fetion = new Fetion ($username, $password);
Send return Boolean
$sms = $fetion->send ($sendto, $message);
if ($sms) {
echo "OK";
}
?>
Open Source code Download http://www.jb51.net/codes/28628.html
The above introduces the free text message of the website PHP fetion friends free SMS API Interface open source version, including the free text messaging site content, I hope that the PHP tutorial interested in a friend helpful.