dazhall Posted April 6, 2007 Share Posted April 6, 2007 Hi! We have a client that will need to modify just one line on their website every so often. They're absolute luddites that have a basic grasp of email and can't even get to grips with Basecamp. So we could just build a simple login with one text field and do it that way - not very interesting though! What we were thinking of is just sending an email to a certain address and having a script update the site with the content from that email. I've seen plenty of plugins for things like Wordpress, that achieve this - but having a whole blog engine seems like overkill for a one liner! There's also things like Twiitter where we could set up an obscure account and use the RSS feed from that, but then we're relying on a third party service which could go at anytime. Has anyone seen a simple script that will check and email account and update a database / text file? Thanks! Link to comment https://forums.phpfreaks.com/topic/45856-worlds-smallest-cms/ Share on other sites More sharing options...
boo_lolly Posted April 6, 2007 Share Posted April 6, 2007 i don't think it would be the script to check the email account every so often. i think it'd be more like the email is sent to the script, and the script retrieves it, process it, and updates the database with the filtered content. i'd also advise implimenting a validation feature, so not just anyone can send an email to the script. also, look into this class: http://www.phpclasses.org/browse/package/2934.html Link to comment https://forums.phpfreaks.com/topic/45856-worlds-smallest-cms/#findComment-222888 Share on other sites More sharing options...
Wildbug Posted April 6, 2007 Share Posted April 6, 2007 The e-mail idea is interesting, but if this e-mail address accepts a message from anyone, there's a possiblity that things will be posted on this website unwittingly. Will you be hosting this proposed e-mail account? If so, a Perl script invoked by cron might be a better option. The simple login/single text field seems like the least complicated/most obvious solution, though. Link to comment https://forums.phpfreaks.com/topic/45856-worlds-smallest-cms/#findComment-222889 Share on other sites More sharing options...
boo_lolly Posted April 6, 2007 Share Posted April 6, 2007 altho i agree with wildbug on the suggestion that a simple input field would be the best solution, i'm very curious to see how this email-retriever script works out. Link to comment https://forums.phpfreaks.com/topic/45856-worlds-smallest-cms/#findComment-222892 Share on other sites More sharing options...
dazhall Posted April 6, 2007 Author Share Posted April 6, 2007 Yup, obviously there would be validation of the subject line, we can have a pin number or something similar that needs to be included in the subject. So, the question remains - has anyone seen anything similar - or does anyone have a better idea?! But something more original and easier to use than just a one line CMS! Link to comment https://forums.phpfreaks.com/topic/45856-worlds-smallest-cms/#findComment-222894 Share on other sites More sharing options...
boo_lolly Posted April 6, 2007 Share Posted April 6, 2007 Yup, obviously there would be validation of the subject line, we can have a pin number or something similar that needs to be included in the subject. So, the question remains - has anyone seen anything similar - or does anyone have a better idea?! But something more original and easier to use than just a one line CMS! take a look at the link i posted. it does what you are looking for. Link to comment https://forums.phpfreaks.com/topic/45856-worlds-smallest-cms/#findComment-222898 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.