template parameters $request->settemplateparam (Json_encode (Array(//the value of a field in a text message template"Code" =$code, "Product" = "DSD" ),Json_unescaped_unicode)); //initiating an Access request $acsResponse=$acsClient->getacsresponse ($request); //return request Result $result= Json_decode (Json_encode ($acsResponse),true); return $result;}Use, only in = Call the Sendcode function in the controller: Public functionsendmsg () {$phone= input (' Post.phone_num '); $code=R
Ali Big Fish http://www.alidayu.com/SMS interface Overall is good, do not An Shu personally think whether it is from the price or stability are with the same kind of SMS interface better, after all, is the big company's things will not be bad to where to go. The following is a pre-developed SMS interface to do a collation.1, login Ali
Provides various official and user-released code examples. For code reference, you are welcome to exchange and learn the Thinkphp Special Edition example of Alibaba big fish API interface (SMS interface ).
In view of the usage of Thinkphp, most users are advised to add Thinkphp special edition.
Address: http://www.thinkphp1.cn/code/1749.html
Official Website o
When the small partner does the PC website, whether has encountered the registration user needs to use the SMS verification function? Or retrieve the password, and verify the user's information and so on functions! Today, think of PHP for everyone to bring thinkphp integrated Ali Big Fish SMS verification function!First of all, we have to understand what the principle of text messaging, in fact, we use the
When the small partner does the PC website, whether has encountered the registration user needs to use the SMS verification function? Or retrieve the password, and verify the user's information and so on functions! Today, think of PHP for everyone to bring thinkphp integrated Ali Big Fish SMS verification function!First of all, we have to understand what the principle of text messaging, in fact, we use the
1, the description
Ali Big Fish provided a verification code, SMS notification, voice and other services, after the use of feeling very convenient, is worthy of Ali's products.
Recently want to get a nodejs to send SMS notification function, there is no use of alidayu-node (do not know this when you start doing.) If you use Alidayu-node, that's easy. ), the whole of their own signature sign, to achieve SM
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.