|
Posted by Johny Begood on 05/30/07 20:56
>Now you write a script that polls your phone for new messages, does
>something with them (e.g. inserts them into a database), and then deletes
>them off the phone. Depending on how often you expect to receive new
>messages, set cron to run this script every 1, 5, 15 or 30 minutes
Hi Toby,
Any examples of such scripts?
Cheers
"Toby A Inkster" <usenet200703@tobyinkster.co.uk> wrote in message
news:9uovi4-8bc.ln1@ophelia.g5n.co.uk...
> justinblake wrote:
>
> > I want to write an application that can accept and process sms
> > messages sent to it from cell phones.
>
> The easiest way is to buy a cheap mobile phone and place it in the server
> room. Plug it in to the wall so that it doesn't run out of batteries, and
> switch Bluetooth on. Then buy a USB Bluetooth dongle for your server --
> usually about £10-15.
>
> Now you write a script that polls your phone for new messages, does
> something with them (e.g. inserts them into a database), and then deletes
> them off the phone. Depending on how often you expect to receive new
> messages, set cron to run this script every 1, 5, 15 or 30 minutes.
>
> Writing the script is the hard part, but open source tools like gnokii
make
> it a bit easier.
>
> If you're using a shared server, then the cheap solution above will likely
> not work, as you won't have physical access to the server. You'll probably
> need to find a third-party SMS-to-email gateway, and then write a script
> to poll a POP3 e-mail account.
>
> --
> Toby A Inkster BSc (Hons) ARCS
> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
> [OS: Linux 2.6.12-12mdksmp, up 95 days, 16:02.]
>
> Non-Intuitive Surnames
> http://tobyinkster.co.uk/blog/2007/05/25/non-intuitive-surnames/
Navigation:
[Reply to this message]
|