![]() And then there is the $phone variable which holds the phone number (including an ISD code) to be sent the OTP to. We configure with it in the following section.Ĭurrently, 2Factor provides the following SMS packs for OTP.Īs shown above, we first generate a four-digit OTP between 10 with the rand() function and assign it to the variable $otp. In this tutorial, I have picked 2Factor, which has one of the easiest API to set-up. There are a plethora of SMS Gateway Service providers available out there, you can do some search and analysis for your needs and pick one. Next we proceed to send it as a text message through an SMS Gateway. To generate a four-digit OTP between 10, we use the PHP rand() function. Instead of some random text, we will generate an OTP and send it as a text message to the desired recipent. In this tutorial, you will learn how to configure and send SMS via an SMS service provider in PHP. Transactional SMS messages do not have time restrictions nor are they affected by the number's DND status. You can read about the TRAI regulations here. ![]() In India, the TRAI has made a regulation that all non-transactional SMS messages (which includes promotional messages) can only be sent between 09:00 and 21:00 hours. They can only be delivered to non-DND numbers. On the contrary, those messages which are about discounts, offers, and other such advertisement related stuffs are known as Promotional SMS. They are sent to registered users and they do not have marketing content. Transactional SMS messages are largely informational like OTPs, order confirmations, bank transactions, delivery alerts, booking statuses, etc. In India, Bulk SMSes are classified into two types: You'll get your own SMS Api to Give to your own customers and resellers.What we intend to cover here is basically an application to person (A2P) messaging system, commonly known as Bulk SMS. Set/edit No of records to display per page on member and admin pages Specify county codes that use more that 1 sms unit per text message Members can transfer SMS units to another memberĬreate/edit Welcome SMS message for new membersĬreate/edit SMS to send to members when their SMS orders have been approvedĬreate/edit Selling price per sms unit for different quantity of sms purchases Search, copy and sort sent sms messages with page numbers and page sizeĬhange password on Edit Your Profile page View to all sent sms messages with recipients, message,status, credit used, date scheduled, date delivered Phone book to store phone groups and numbersĪdd multiple numbers to phone book group at onceĭelete a phone book group and all its records Separate multiple numbers and uploaded numbers with comma, colon, semicolon or put each number on a separate line.Īutomatic removal of invalid characters from numbers e.g space, .,',`,(,),#,-,_ and ?ĭisplays member SMS units left and SMS Units used SMS scheduling for future delivery with date picker. SMS character counter for composing SMS i.e Page: 1, Characters left: 157, Total Typed Characters: 3 Type multiple sms recipients, select recipient group from phonebook or upload recipients from text and csv(excel) file Note: The Bulk SMS script works on all kinds of website It is as easy as A B C D you do not require any special skill all you are required to do is to credit your customers once they pay for sms, as soon as you get bank alert that the customer have paid you credit him/her in less than 40 secondsįor more information Click here to fill our contact form, you can also request to see our demo website or other websites using the script. We have developed SMS Script that will enable your and your visitor send bulk sms from your website, you can start making money from your website by allowing your website visitors send Bulk SMS from your website. Search no further, we will make it happen within 24hrs. Are you a Website owner or a website designer?ĭo you wish to be able to send bulk SMS from your website?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |