OZONE Asylum
Forums
Server-Side Scripting - Oh my!
update webpage via email or SMS?
This page's ID:
31938
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
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. To use SMS, it seems you would have to go through an SMS gateway so I am thinking that will be out. So I am thinking of using email. PHP will let you use IMAP and has a few features. There are some PHP-IMAP classes that I have found that will let you grab emails and work with them to some extent. What I was aiming to do was have the emails come in and read the subject line to determine which element needs to be changed, then read the message of the body to determine what the change is. This will be "OPEN" or "CLOSED" plus it will change the background colors. So the Subject of the email may be "TRAIL 1" and the body would say "OPEN". The website would get the email and change the status of the trail. I can see a few security holes creeping into this so that is why I am here. Is there a better way to do this rather than use PHP. That is what I am most comfortable with using, that's why I chose that. I would like to make sure that the script only accepts emails from one certain email address and everything else is rejected. This might be able to be handled via the website when the email is set up. Not sure. So that is my question I guess. What is a good approach to this? He doesn't want some "admin" feature on the site, he is wanting to do this via his Blackberry. He has email on it so that was what I thought of first. Just send an email to the script, have it read it and change the status of the page. Am I on the right track? Thanks in advance! C:\ Later, C:\
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail