1. Support mass sending (if you need to send multiple numbers in bulk, separate them with English commas (,) (159..,159..))
2. Support data submission by POST or GET.
This site interface:
http://api.heqee .com/fetion/?username=Fetion mobile phone number&passowrd=Fetion mobile phone password&to=recipient number&message=SMS content
or
http://api.heqee.com/fetion/?u=Fetion mobile phone number&p=Fetion mobile phone Password&t=recipient number&m=text message content
You can also download the source code and put it on your website
Copy the code The code is as follows:
/*
Required PHP extension: curl , simplexml
*/
include "libs/fetion.class.php";
#Set Fetion account password
$username="15900000000";
$password="password";
//Receive numbers, for multiple numbers", "Separate(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";
}
?>
The above introduces the free text messaging website PHP Fetion Friends free SMS API interface open source version, including the free text messaging website, I hope it will be helpful to friends who are interested in PHP tutorials.