Forum Moderators: coopster
we have used that to read emails and do auto inserts into a db for a forum
email to SMS gateways seem to be pretty common, but I can't find an SMS to email gateway
The sms text is recieved in the script as a POST variable. So you can do with it whatever you want.
My provider is danish, but im sure you can find something similar in english.
There was a pretty good tutorial [codewalkers.com] on codewalkers.
They all seem pretty flexible with regards delivery, being able to setup more or less anything including HTTP POST (the target of which can be your PHP script).
I've just done a quick search and the short code market does not seem to be so well developed in the US - perhaps due to the disparity of networks across your much wider geographic region.
If you're determined to do this and don't need want to pay a service provider or have premium rate per-SMS charges then you could always roll your own system using a pay-as-you-go handset, the Nokia PC Connectivity SDK 3.0 [forum.nokia.com] and a PC dedicated to the cause sat in a dark corner of your home. Please note however that this is not a straight forward option if you have absolutely no experience of Windows software development.
I want to be able to write a note on my phone and SMS it to a PHP script that enters the note in a database
Don't know where you are in the world, but most European phone companies allow you to send emails from your handset. In which case, set up a dedicated email account, and write a php script that checks that account every x (15? 20?) minutes. Leave it running in the backgroud, doesn't occupy anything on the server.
Then, you just send the email to the server and the php script, spotting the new email, carries out whatever action you want it to.
Setting up an SMS gateway for this would be too complex & expensive (unless you plan to have quite a lot of coverage from different users)