Reputation: 3935
I have a USB GSM device which I use for Internet connection as well as for Sending SMS through the software provided by the device itself. I would like to know if is it possible to read this device from USB port using PHP server side script ? If it is possible, how we can do it & process some actions on it like Send SMS or receive SMS ?
Currently I am using Wamp on my Windows Machine. I would also like to do this on Linux machine too but that is in the very later stage so that is not part of this question at the moment.
Thanks in advance.
Upvotes: 0
Views: 8422
Reputation: 7804
There are several libraries and tutorials about how to control serial ports with PHP.
Example: https://gist.github.com/51342
Article about this http://www.communitymx.com/content/article.cfm?cid=8658A
An article about exactly what you need is here (thanks to Mathew Hall)
Upvotes: 1