Scenario one. I need a "todo" list page for our web site which I, and the rest of our team, can view and update quickly and easily.
Scenario two. Dave wants to provide his local cricket club's website with pages that the committee can update without them having to be trained / skilled in HTML, with each of the pages having the same look and feel, and without the risk of something silly being inserted into the page that will cause a major security breach.
Dave was with me for last week's PHP Course
and we wrote a single page wiki demonstration ... which I have just modified and installed onto our live web server as a staff usage page for our team.
When any of our team visits the page, this is the sort of thing we'll see - there are a few standard headers and timestamps, and a picture which can be changed by anyone who edits the page.
With the particular case of our internal "todo" list, the display that's shown to public visitors isn't the one that I started with, but rather it's what you see here. We have chosen to display the picture, but only a standard piece of text that suggests you should be logged in.
The Wiki demonstration code - it's only about 6k bytes - is [here]
and there's a sample template [here]
. That's even shorter. You'll need to rewrite URLs so that all your page names point to a single script if you're going to be using multiple pages within the system - we have a sample .htaccess file [here]
If you're already knowledgeable in PHP, you should find the script quite easy, but if you'ld like some help with this and many similar things, we cover it on our PHP Techniques Workshop
(written 2010-02-14, updated 2010-03-03)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articlesH310 - PHP - Putting it all together 
Your PHP website - how to factor and refactor to reduce growing pains - (2011-09-24) 
Syncronise - software, trains, and buses. Please! - (2010-08-22) 
Debugging multipage (session based) PHP applications - (2009-07-09) 
Index Card System for Game Characters in PHP - (2008-12-27) 
Validating Credit Card Numbers - (2008-10-14) 
Refactoring - a PHP demo becomes a production page - (2008-09-12) 
Upgrade from PHP 4 to PHP 5 - the TRY issue - (2008-08-15) 
Larger applications in PHP - (2008-07-22) 
Presentation, Business and Persistence layers in Perl and PHP - (2006-04-17) 
Stand alone PHP programs - (2005-10-18)
Some other Articles
su or su - ... what is the difference?Finding what has changed - Linux / UnixCourses - Melksham and elsewhere - until the end of AprilLinux - useful tips including history and file name completionA PHP example that lets your users edit content without HTML knowledgeLondon to and from Melksham by public transportWhy do I teach niche skills rather than mainstream?Shipping a test harness with your class in PHPHow to show a large result set page by page in PHPStatic variables and ampersands in PHP