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!
SMS Gateway
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
It's probably much easier and safer to use an SMS gateway such as Kapow (service not framework)...
Anyway, that said:
You'll also want to look at exec() and system() 
Anyway, that said:
Code: Select all
echo `ls -l`; //The backtick syntax executes shell commands and also returns it's output