Sending SMS by USB GSM Modem in PHP

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
arnika
Forum Newbie
Posts: 1
Joined: Wed Nov 23, 2011 12:10 am

Sending SMS by USB GSM Modem in PHP

Post by arnika »

Hi all.
I have an USB GSM Modem that has a SIM card and Memory card. I wonder if how can i send sms with this. Is it possible? if yes, HOW?
Would you please give me an article about this or help me how should i start it?
Thanx for any reply.
maxx99
Forum Contributor
Posts: 142
Joined: Mon Nov 21, 2011 3:40 am

Re: Sending SMS by USB GSM Modem in PHP

Post by maxx99 »

If you're able to send SMS from command line (IF there is such a possibility given by the producer!) you could use exec() from your PHP.
Xeolex
Forum Newbie
Posts: 11
Joined: Fri Nov 18, 2011 9:00 am

Re: Sending SMS by USB GSM Modem in PHP

Post by Xeolex »

i dont have much knowledge about this, but here are some links tat might help..
http://gonzalo123.wordpress.com/2011/03 ... s-and-php/
http://activexperts.com/xmstoolkit/howto/gsm/php/
mikeashfield
Forum Contributor
Posts: 159
Joined: Sat Oct 22, 2011 10:50 am

Re: Sending SMS by USB GSM Modem in PHP

Post by mikeashfield »

maxx99 wrote:If you're able to send SMS from command line (IF there is such a possibility given by the producer!) you could use exec() from your PHP.
And if you do use this approach, make sure that your code is completely secure, or somebody trying to hack your site, could easily inject MySQL and escalate privileges much easier with exec() enabled.
Post Reply