UPOINT:: CGI Scripts: FAQ

Title: @1 Age Status Indicator: General
Brief introduction on features.

Pointing to a file: The script checks the last modified date of the file and shows an image indicator according to the age of the file.
Pointing to a folder: The script scans* through ALL the files in the folder and determines the latest last modified date. It then shows an image indicator according to that age.

* The script has to scan all files and not simply checks on the date of the folder itself as this is less accurate. This is because the date of the folder will not be updated if a file in it is edited. The folder date will only be updated when a file is added into it or deleted from it.

Admin interface - You may perform the followings:
- Change password
- Set the level of age distinction (1 level or 3 levels)
- Set the days (X, Y and Z)
- Set the reference files or folders (unlimited numbers)
- Set the HTML to be displayed (may display either text or images)

Two levels of age distinction
- 1 Level: An example is to show a "" image if age is less than X days and to show nothing if age is more than X days.
- 3 Levels: An example is to show a "" image if age is less than X days, "" if age is between X ~ Y days, "" if age is between Y ~ Z days and nothing if age is more than Z days.

Two modes - Can point to a single file or a folder. If pointed to a folder, the folder's age is dependant on the newest file in that folder.

Omit sub-folders - If pointed to a folder, the sub-folders and all files in the sub-folders will be ignored. Only the files directly in the pointed folder will be scanned.

  Powered by Document Publisher