Home > Backend Development > PHP Tutorial > Free text messaging website PHP Fetion friends free SMS API interface open source version

Free text messaging website PHP Fetion friends free SMS API interface open source version

WBOY
Release: 2016-07-29 08:43:22
Original
1694 people have browsed it

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";
}
?>


Open source code download http://www.jb51.net/codes/28628.html

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template