views:

962

answers:

6

Can a PHP script (which can be working with a MySQL DB) send and/or receive SMSs using some sort of server-side solution?

Any special server-side application, or special hardware required? And compatibility? Windows, Linux?

+8  A: 

There are plenty of companies like Esendex that offer APIs for sending/receiving SMS messages. I'm not sure if you're looking to send them directly from your hardware though?

Steven Robbins
Thanks, pretty much what I was looking for. Their 7 day no-credit-card trial sounds great too!
Jenko
I've been using them for a few years, for both incoming and outgoing SMS, and they seem pretty ok. I've only used their .net APIs, but they seem to provide example code in a lot of languages.
Steven Robbins
A: 

The most companies running soap and simple http apis.

here is an other company: clickatell

Bernd Ott
+1  A: 

You can get usb to gsm modems and send messages from php or any other language or you can develope J2EE programs on cellphones to do the same thing(this is hackier).

The cheapest way to do it(at less that was my experience) was to get a MultiTech GSM module for 50 USD, installed a GSM card with unlimited text and started comunicating using the serial port, very simple commands allows you to send text and the module makes all the protocol conections and stuff...

Basicly you end up using AT commands (they change from modem to modem) but they are like AT#T/"555031231" Sample Text message //

Of course the down side of going with the gsm chip is that you actually have to do some electronics, if you go for the high end gsm modems they have all the solved and you can just plug and play!

DFectuoso
+1  A: 

If you are in the UK, txtlocal is a good option. They already have example code on their site to get you up and running. Very simple, using curl functions.

http://www.txtlocal.co.uk/

Hans
A: 

Txtlocal actually operates internationally - and yes, they are very good, reliable and low cost.

A: 

www.textmarketer.co.uk offer internation bulk sms routes and very low prices.