Home > Backend Development > PHP Tutorial > 有哪位高手用过比较好用的【短信验证服务】啊

有哪位高手用过比较好用的【短信验证服务】啊

WBOY
Release: 2016-06-13 12:19:53
Original
912 people have browsed it

有谁用过比较好用的【短信验证服务】啊?
简单,稳定一点的,最好能快速整合到现有的项目中。急!在线等
------解决思路----------------------
给个参考吧:http://www.ihuyi.com/product.php
类是这样:

<br />$target = "http://106.ihuyi.cn/webservice/sms.php?method=Submit";<br />$authstr=random(6,1);<br />$post_user='用户名';<br />$post_pwd=md5('密码');<br />$post_data = 'account='.$post_user.'&password='.$post_pwd.'&mobile='.$phoneN.'&content='.rawurlencode('您的验证码是:'.$authstr.'。请不要把验证码泄露给其他人。');<br /><br />$res =  xml_to_array(curl_phone($post_data, $target));//xml_to_array  curl_phone  下载它的demo有<br />$res['SubmitResult']['code']=2;//测试<br />
Copy after login

------解决思路----------------------
你也可以看看亿美的,他会给你发个sdk,你直接用sdk就好了

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