Monday, April 1, 2013
How to Send SMS Through PHP
1. Obtain an SMS gateway. This is a service that allows you to send SMS without a cell phone. Install the files indicated by the gateway provider.
2. Log in to your SMS gateway account. Note the user name, password and the gateway URL used for sending SMS.
3. Create a Web form using Notepad or an HTML editor such as FrontPage or Dreamweaver. This form allows users to enter the message and phone number they wish to send a message to. Indicate a PHP file as the file to send to when the form is submitted.
4. Create a new file in Notepad or your HTML editor. Write a PHP script that obtains the phone number and message from the form and passes through the gateway URL, along with your user name and password. This is the PHP file that handles the form upon submission.
5. Upload the Web form and PHP file on your website. To send an SMS, access the Web form, fill it out and click 'Submit.'
No comments:
Post a Comment