Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Two PHP include files to make easy web site indexing and navigation

My 'work' in campaigning for an appropriate train service on our local "TransWilts" line started three years ago now (!) with the Save the Train web site ... and grew to include the First Great Western coffeeshop (forum) covering all services in a wedge to the West of London, once we realised that we're not alone here in Wiltshire in feeling that the Passenger (and want-to-be passenger)'s voice doesn't get heard in the corridors of power at the Department for Transport, at First Group, and at the various town and county halls - that public rail transport is an area where the customer is NOT always of top priority to the specifier, operator or public servant.

There's a steadily increasing flow of "documents" associated with all this work - ranging from informational photographs to show locations through spread sheets and timetables and other documents released to us under Freedom of Information and other disclosure rules ... and a need to make them more easily available. And so the site at raildocuments.org.uk which Lee (of canber) is looking after.


How to look after these documents? Well - for the initial stages I've used two simple PHP files that can be called up from the home page (or any other page, come to think of it!)

The first script - (see code here) - generates links to all the subdirectories which have their own home pages, and it references them by the subject of the index page.

The second script - (see code here) - generates links to all the individual files within other specified subdirectories.

Together, the two provide a quick and neat set of navigation tools to allow users to find the document the need quickly and easily on a site of modest size, and provide the site owner / maintainer with a structure in which he can add in extra resources / documents without having to go through a procedure to update all the links and indexes.

See the current docs using the scripts here ...

(written 2008-06-21, updated 2008-06-23)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
H312 - PHP - Tips and Techniques
  [789] Hot answers in PHP - (2006-07-02)
  [917] Syntax checking in PHP - (2006-11-07)
  [1010] Dates, times, clickable diarys in PHP - (2006-12-28)
  [1270] PHP Standalone - keyboard to screen - (2007-07-18)
  [1649] Easy conversion - image formats, currencies and distances - (2008-05-21)
  [1667] Checking server performance for PHP generated pages - (2008-06-06)
  [1958] PHP - Parse error: syntax error, unexpected $end ... - (2008-12-23)
  [1983] Keeping PHP code in database and running it - (2009-01-09)
  [2025] Injection Attack if register_globals in on - PHP - (2009-02-04)
  [2274] PHP preg functions - examples and comparision - (2009-07-08)
  [2478] How did I do THAT? - (2009-10-26)
  [2981] How to set up short and meaningfull alternative URLs - (2010-10-02)
  [4074] A comment on comments in PHP - (2013-04-28)
  [4310] Problem ... I want to print a series of numbered forms - (2014-10-05)
  [4319] PHP - some quick fixes if scripts have issues, and how to use our support - (2014-11-19)
  [4426] FileMaker Day to Unix Time conversion - (2015-02-15)
  [4621] The power of scripting - (2016-01-12)


Back to
Plenty of car parking at Well House Manor, Hotel, Melksham
Previous and next
or
Horse's mouth home
Forward to
Short circuit evaluation (lazy operator) in Lua
Some other Articles
cannot restore segment prot after reloc message - PHP / httpd
Virtual Hosting on Apache httpd - a primer example
FTP - how not to corrupt data (binary v ascii)
Short circuit evaluation (lazy operator) in Lua
Two PHP include files to make easy web site indexing and navigation
Plenty of car parking at Well House Manor, Hotel, Melksham
Accounts in PHP - an OO demo
Adding a button to a web page to print the page
Astroturfing - the online definition
PHP - Sanitised application principles for security and useability
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.info/mouth/1684_Two ... ation.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb