Updating Articles with a simple script

Readings

List of free CMS code
Read about what’s available for free. Try them at your own risk. Most of these involve database connectivity.

Updating articles with CMS

The most powerful form of CMS you can provide for your clients is a way to update articles/stories/blurbs. Download, install, and try some of the free solutions found online, or build your own.

Instructor example

Submit an article
This script set is a modification of the rotating quote script found on the next page. It uses a text file to store the article, a script to add to it, and a script to view it. The site’s template was added to provide a consistent look. User help is provided in the text input box. The script reads the .html tags left in the form field so it displays properly. The downfall of this simple method is that the user will erase the tags. Another improvement is to build in a notification to the editor or webmaster and allow only their authorization to post the article; alleviating unwanted article submissions. Permissions on the text file must be set to chmod 666 or 640. Use Fetch, WSFTP, or Telnet/SSH Shell to make this change on the file on the server. Download files (.zip)