Does anyone know of a script that manages SMS messages via PHP utilising a SMS Gateway? If not, does anyone know of any product on the market?
hello sarahk, incase of INDIA which is the best SMS Gateway, i m looking out for SMS gateway for one of my Non-Profitable Site
I can't imagine you'd have any problems with clickatell. It's not free, but it's professional and the costs are reasonable.
clickatell has closed down..and he is not asking about service providers but a php script to manage sms. I am currently developing it for www.realtytocell.com
You gave me a fright... but I logged into Clickatell just fine As for the script, once you've selected your gateway they normally come with plenty of sample scripts so I consider the two interchangeable.
@sarahk...The clickatell website has been down for nearly 1 month ... I am unable to log in...I am using this website link: http://www.clickatell.com can you please specify the url in which you are able to log in.. ????? Also, I am not talking about simple scripts but customized applications which requires custom programming..
Same link. I guess from the script point of view, I consider SMS capabilities to be an add on to an existing system. Therefore you just need samples and from there you build the component or whatever for your system. There is usually a larger requirement or "business problem" that needs to be solved and the SMS script needs to integrate and not stand alone. Your script may be great but will it work with SugarCRM, Silverstripe, LDAP or any other contact/user management system?
Hi guys, We are offering Free SMS Gateway services, you just buy credits and use http API to send SMS, paypal, credit cards are accepted. www.abtxt.com Free php, asp, asp.net code is available
Where does the "free" bit come in? Is it international? Do you need to know the network the number is on or does your gateway handle all that?
"Free" means to connect with my Gateway is free (I am giving API for that) just need to buy credits, as low as, you can buy 500 SMS credits for $8.75 most of sms gateway are not giving free API. All countries, network numbers are handle by my gateway Welcome DP members, just signup and post your username here and I will give you 10 credits Free to test my gateway if you buy more than 5000 credits, I will give you free sender id as well
OK, your business model is a bit different from what I'm used to. I'm not used to having to pay to access the gateway although there are some companies in NZ that do that but they are normally associated with shortcodes and inbound SMS capture and response.
I used to run my own SMS gateway with Telcos in Malaysia, Bangladesh, India, Indonesia and Nepal. But already sold off the whole business. All technical development were done by me. If you need to develop any SMS service either free or paid, I might be able to help. If you're interested, you can always PM me. Cheers,
SMS gateway is a term that we use to identify our middle-ware that bridge between SMSC (Short Message Service Center located at mobile operator) and SMS application. Depending on Telcos, middle-ware can communicate with SMSC in various forms. In most cases our middle-ware is a Linux operated box with IP connectivity to SMSC and serial connection to a GSM modem for maintenance & monitoring. The middle-ware operates under Linux OS and runs our proprietary application and database.
huh ! no one here reads before replying. I just asked if its a device or a kind of software. I already know its working ( read it somewhere else )
"It is a combination of proprietary software and Linux box. " I have sold it in a form of device which I developed my self which comprise of the above mentioned. -and- I have also sold in a software form just by itself. Hope that helps.... cheers,
Here is another very simple and low cost SMS script at www . txtlocal.co.uk/sms-api.php The php code to send a message (using cURl or sockets.. very simple) is: <?php $info = "1"; $test = "0"; $address = "www . txtlocal.com/sendsmspost.php"; $message = "Hello this is a test with an ampersand (&) and a £5 note"; $from = "Jims Autos"; $uname = "youremailaddress"; $pword = "yourpassword"; $selectednums = "4412345545324"; $newSMS = new sms; $newSMS->smsCurl($address, $uname, $pword, $message, $from, $selectednums, $info, $test); // Sends an SMS using cURL $newSMS->smsSockets($address, $uname, $pword, $message, $from, $selectednums, $info, $test); // Sends an SMS using sockets class sms { // cURL SMS function smsCurl($address, $uname, $pword, $message, $from, $selectednums, $info, $test=0) { // Build url $data = "uname=" . $uname . "&pword=" . $pword . "&message=" . urlencode($message) . "&from=" . $from . "&selectednums=" . $selectednums . "&info=" . $info . "&test=" . $test; // Initiate cURL $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "xxx://$address"); // curl_setopt($ch, CURLOPT_URL,"xxx://$address"); //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 curl_close ($ch); } // Socket SMS function smsSockets($address, $uname, $pword, $message, $from, $selectednums, $info, $test = 0) { // Build data array $data = array ("uname" => $uname, "pword" => $pword, "message" => $message, "from" => $from, "selectednums" => $selectednums, "info" => $info, "test" => $test); $data = http_build_query($data); do_post_request("https://www.txtlocal.com/sendsmspost.php", $data); $params = array('http' => array('method' => 'POST', 'content' => $data )); if ($optional_headers !== null) { $params['http']['header'] = $optional_headers; } $ctx = stream_context_create($params); $fp = @fopen($address, 'rb', false, $ctx); if (!$fp) { throw new Exception("Problem with $url, $php_errormsg"); } $response = @stream_get_contents($fp); if ($response === false) { throw new Exception("Problem reading data from $url, $php_errormsg"); } return $response; } } ?> Code (markup): You can also get a free SMS text receiver number and receive SMS text from any phone worldwide into php... at no cost at all! Simply add these 2 variables to your page and you will grab the messages: (see www . txtlocal.co.uk/freenumber.php for more info) $number = $_REQUEST["number"]; $status = $_REQUEST["status"]; Code (markup):