Any ideas? I've searched quite a lot and reasonable solutions seems to be gateways for sending and receiving sms'es using PHP and MySQL. With that, my other question is which kind of cell phone do we need to get the COM port detected? I had BlackJack II earlier and could do everything on that phone, Windows apps and all.... I tried connecting a cheap phone such as Nokia 1110 and a Q-Mobile Q5 too. None of them are getting detected by gateways. I can buy a new cheap set for just doing this. But do I only need GSM 900/1800 band frequency or something else too? A little confused with SMS thing and its needs. Thanks for help in advance.
You should buy a sms gateway in order to send and receive sms using php script they will provide you api to integrate with your script
I am just thinking to do that. How about what cellphones will work when connected? What do we need to have in a cell phone?
NO Cell Phones, Your sms gateway will provide you an api to send sms. I don't have info on receiving smses.
Do you know you can send text messages just using the php mail function for free? For example, to send a text to a verizon phone you send to (where number is the phone number). Each carrier has their own email gateway. There's a list here: http://en.wikipedia.org/wiki/List_of_SMS_gateways You can also receive texts back by just texting to an email address and then piping that email to your php script.
I had to do this for a client and was able to accomplish it with just PHP as AtomicPages said. You can also receive messages but it is slightly more difficult. I found a reliable database from telcodata.us that contains both the Area / Exchange numbers with a listing of the cell network and their respective sms email. It only cost $15 for the DB/csv and was totally worth it. If you're cheap you could always access their XML data and parse it yourself. It was a pretty awesome and cheap way of sending sms. Works perfect too.
The correct/effective/cheap way of doing this these days, is using a third party sms api, if you just google sms api, or sms gateway, loads will come up. They let you normally use an http api to send sms, and then to receive, they will call a php script on your server with the details