SMS Gateway

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aleetk
Forum Newbie
Posts: 5
Joined: Thu Oct 06, 2005 4:10 am

SMS Gateway

Post 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!
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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() ;)
Post Reply