In this tutorial we guide you to send sms using PHP language using CANNYINFOTECH http sms api.
<?php
$message = urlencode($_POST['MESSAGE']); //encode special characters (e.g. £,& etc)
$from = $_POST['FROM'];
$uname = “72″;
$emailid=”demo4@demo.com”;
$pword = “demo”;
$selectednums = $_POST['TO'];
//build url
$data = “user=” . $uname . “&pwd=” . $pword . “&senderid=testsms&mobileno=” . $selectednums . “&msgtext=” . $message ;
$gatewayURL = ‘http://www.cannyinfotech.com/sendurlcomma.aspx?’;
$url = $gatewayURL . $data;
echo $url;
//Open the URL to send the message
$res= file($url);
//print_r($res) ‘display array values
echo “Message Sent to ” . $selectednums;
?>
The above program you have to change the following fields
$from = Sender id
$emailid= Username
$pword = password
$selectednums = Mobile number with country code

Thank you for another informative blog. Where else could I get that kind of info written in such a perfect way? I have a project that I am just now working on, and I have been on the look out for such information.