Topic awaiting preservation: update webpage via email or SMS? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
posted 08-04-2010 00:59
We have a website for our Mountain Biking ground and my buddy that owns it would like to change the status on a couple certain fields via email or SMS. These changes will be if the trail is OPEN or CLOSED. There are currently 7 trails. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 08-04-2010 10:47
yeah, cronjob, check email, modify data will work. |
Maniac (V) Inmate From: there...no..there..... |
posted 08-04-2010 15:11
well cool. I'll work on doing that then. I was thinking of having the info in a database and just have the email change the data in the database. |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 08-05-2010 01:38
I don't know if you have procmail available on your host, but I did this once a few years ago for a site that wanted to be able to call soccer games based on field/weather conditions, with an email sent from a mobile phone. I piped the email to a perl script that used Mail::Internet at cpan.org to check the body of the email for the words "rain" or "shine" and if found wrote it to a text file. When someone visited the site, the code would check that file and display accordingly. |
Maniac (V) Inmate From: there...no..there..... |
posted 08-05-2010 02:04
butcher, |
Maniac (V) Inmate From: The Pool Of Life |
posted 08-05-2010 02:26 |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 08-05-2010 02:47
CPrompt |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 08-05-2010 11:45
that sms to email gateway would be a feature of the mobile phone service provider, not your hosting. |