PHP Feixin friends free text message API open source version _ PHP Tutorial

Source: Internet
Author: User
PHP Feixin friends free text message API open source version. 1. supports group sending (if you need to group multiple numbers, separate them with commas (,) (159 .., 159 ..)) 2. support for POST or GET Data Submission. this site interface is api. heqee. comfetion? Username Feixin Mobile Phone 1, supports group sending (if you need to group multiple numbers, use commas (,) to separate them (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.

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 http://www.jb51.net/codes/28628.html

Batch (if you need to send multiple numbers separated by English commas (,) (159..., 159...) 2, support POST or GET submit data site interface: http://api.heqee.com/fetion? Username = Feixin mobile phone...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.