Latest Version (v1.3): http://code.google.com/p/php-fetion/downloads/detail?name=phpfetion_v1.3.0.zip
(July 23, 2012: Fixed a problem that can't send messages to friends, add Csrftoken field when sending messages to friends)
Update please pay attention to: http://blog.quanhz.com/ (i) Instructions for use1. There is only one file that needs to be included in your program: phpfetion.php. Such as: Require' phpfetion.php '; 2. Call methods such as: =newphpfetion(' 13500001111 ' , ' 123123 '); //mobile number, fetion password $fetion,send(' 13500001111 ',' Hello fetion! ' ); //receiver mobile number, fetion content 3. Other (1) Your program needs to be UTF-8 encoded. (2) The Send () method has a return value and can be used to determine whether the message was sent successfully by parsing the text. Consider that the WAP interface will change, so there is no death in the class to write about the success of the judgment. (ii) Principle of realization1. Send HTTP requests in PHP to simulate the fetion of the WAP version and to simulate sending fetion. Principle of implementation can be viewed: http://blog.quanhz.com/archives/118 (iii) Other1. WAP fetion Login Address: http://f.10086.cn 2. Author Blog: http://blog.quanhz.com |