This article is about a Php code which is used to send SMS to your Indian mobile number through way2sms service provider. You will require an account with way2sms in order to use this code. Account registration at way2sms.com is free.
The code in the article is a php function which uses the cURL library. Before you run the code you need to ascertain that the cURL library is also installed along with Php.
The function takes four arguments (parameters). Those are $userID, $userPWD, $recerverNO & $message. Note that the arguments $userID and $recerverNO are redundant as both are the same in our case that is for Ways2SMS and represents your mobile number. $userPWD is the password for your Ways2SMS account and $message is the message that you want to send in the SMS.