The main update is to switch the logon portal so that Apsara can continue to be available. Paste it again: contains the fetion file requirePHPFetion. php; instantiation, the parameter is the sender's mobile phone number, fetion password $ fetionnewPHPFetion (13500001111,123123); recipient's mobile phone number, fetion content $ fetion-send (135000
The main update is to switch the logon portal so that Apsara can continue to be available. Paste it again: // contains the flying mail file require 'phpfetion. php '; // instantiation. The parameter is the sender's mobile phone number and fetion password $ fetion = new PHPFetion ('123456', '123456 '); // recipient's mobile phone number and fetion content $ fetion-send ('2017
The main update is to switch the logon portal so that Apsara can continue to be available.
Paste it again:
// Contains the fetion file require 'phpfetion. php '; // instantiation. The parameter is the sender's mobile phone number and fetion password $ fetion = new PHPFetion ('123456', '123456 '); // recipient's mobile phone number and fetion content $ fetion-> send ('20140901', 'Hello Fetion1! '); $ Fetion-> send ('20140901', 'Hello Fetion2! '); $ Fetion-> send ('20140901', 'Hello Fetion3! '); $ Fetion-> send ('20140901', 'Hello Fetion4! '); $ Fetion-> send ('20140901', 'Hello Fetion5! ');
Many netizens encountered a problem when sending Chinese characters, because the content of Feixin is UTF-8 encoded. If your program or received parameters are UTF-8, there is no such problem. If not, simply transcode the Code as follows:
// Transcode $ message = iconv ('gbk', 'utf-8', $ message); $ fetion-> send ('20140901', $ message );
In addition, friends who are not convenient to use PHPFetion can also use the HTTP interface of fetion.
: Http://code.google.com/p/php-fetion/downloads/list
ThanksUnintentional launch,CplusHuaAnd other help and clues provided by netizens.
Original article address: PHP fetion (PHPFetion) v1.5 was released. Thank you for sharing it with me.