Joined: 27 Jul 2007
Location: Malvern, UK
|Posted: Tue Jun 10, 2008 12:08 pm Post subject: SMS gateway
I can help!
It is very simple for you to send SMS text messages from your website - you need to use an SMS gateway.
I work for Txtlocal and full details of our API can be found on our website.
It is very easy to do and I can help you get up and running in no time.
For example.. in php you just need to do the following:
set up variables
$info = "1";
$test = "0";
$address = "ourserveraddress";
$message = "Hello this is a test with an ampersand (&) and a £5 note";
$message = urlencode($message); encode special characters (e.g. £,& etc)
$from = "Jims Autos";
$uname = "youremailaddress";
$pword = "yourpassword";
$selectednums = "447740101097";
$data = "uname=" . $uname . "&pword=" . $pword . "&message=" . $message . "&from=" . $from . "&selectednums=" . $selectednums . "&info=" . $info . "&test=" . $test;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"xxxx"); secure connection
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); use this to suppress output
$result = curl_exec ($ch); This is the result from Txtlocal - store as required
Inbound is also simple. We just push the handset number and message content to a page on your server.
It is free to use and setup - you simply pay for the messages that you send. We sell credits in bundles, and you will find our prices are very competative and our support is fanatical.
Please email me or call any time.
http://www.txtlocal.com Online SMS Communication