We all know that fetion is able to send text messages for free, but fetion and no official interface, so can not borrow the official mobile interface to achieve free text messaging, but there are some cracked interface can be used.
Get method:
Submission format
Http://66.zzuobiao.sinaapp.com/get.php?tel= Mobile phone number &pwd=password&aim= The other number &text= SMS content
Return the current state of excess content for China Mobile return can be ignored, if there is no return content or did not return a successful send, it indicates that the send failed
Please make sure that your partner is a fetion friend before sending.
Post method:
http://66.zzuobiao.sinaapp.com/post.php
Parameters with Get method: tel= mobile phone number &pwd=password&aim= The other number &text= SMS content
Using PHP Implementation:
Please make sure that your partner is a fetion friend before sending.
< Span style= "margin:0px; padding:0px; border:0px; Color:rgb (55,55,55) ">
<?phpheader ("content-type:text/html; Charset=utf-8 ");//get method $ch = Curl_init (" http://66.zzuobiao.sinaapp.com/post.php?tel= phone number &pwd=password&aim = Target phone number &text= SMS Content "); curl_setopt ($ch, Curlopt_returntransfer, true); Get Data return curl_setopt ($ch, Curlopt_binarytransfer, true); Retrieve data when Curlopt_returntransfer is enabled returns echo $output = Curl_exec ($ch); echo $output;//post method = ' http://66.zzuobiao.sinaapp.com/post.php/'; $fields = Array (' tel ' = = '), ' pwd ' = ' = ', ' aim ' + ', ' text ' = ', ', '/' $post _data = Implode (' & ', $fields); Open connection$ch = Curl_init ();//set the URL, number of post VARs, post datacurl_setopt ($ch, Curlopt_url, $url); curl_ Setopt ($ch, Curlopt_post,count ($fields)); When enabled, a regular post request is sent with the type: application/x-www-form-urlencoded, just as the form was submitted.curl_setopt ($ch, Curlopt_postfields, $fields); The "POST" operation in HTTP. Suppose you want to transfer a file. Requires a file name Ob_start (), Curl_exec ($ch), $result = Ob_get_contents (); Ob_end_clean (); echo $result; Close Connectioncurl_close ($ch);? >
Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
Fetion free mail API, Fetion interface