PHP script to send message | Techbirds

Posted on: July 9, 2014 /

Categories: PHP / Author Name: Vivek Sharma

Following steps to send SMS using PHP.

Step 1:  Simply register for an account, and you will get username and password.

Step 2: When you login using these username and password, you will get an api_id to use.

These username , password and api_id details will be used in the code to send sms .

Here is the code to send sms : 

Code Sample:

Change the username and password and api_id with your username, password and api_id .

Enter the phone no in $to variable value.

You can change the $text  variable value that you want to send in sms.

1,241 total views, 2 views today

Share this Onfacebook-6170727twitter-9455917linkedin-8249594google-5866258