Page 1 of 1

SMS Gateway

Posted: Fri Dec 30, 2005 9:30 am
by aleetk
Hi!

I'm planning on setting up a SMS gateway for a LAN whereby I can send and receive SMS to mobile phones. I intend to have this gateway on a Linux system with a GSM modem connected to it through USB. I want to know if I can use PHP to talk to the GSM modem so that I can make use of the AT command set to send and receive SMS using a web interface etc.

Anyone knows how to go about it? If you know anything or if you know any websites that can help, please let me know. Note: Please do not recommend me to buy commercial products or anything like that. I would prefer to write my own custom SMS gateway FYI. Thanks!

Posted: Fri Dec 30, 2005 8:23 pm
by Chris Corbyn
It's probably much easier and safer to use an SMS gateway such as Kapow (service not framework)...

Anyway, that said:

Code: Select all

echo `ls -l`;  //The backtick syntax executes shell commands and also returns it's output
You'll also want to look at exec() and system() ;)