We channel the great Linux (or Unix) command “file” to start down the road of a web server file information presenter web application.
With Mac OS X (like Linux) command line …
file [webServerFileSpec]
… sums up what we build a web application around, having a PHP shell use its exec method to filter the information through (Linux command line) with the data columns …
- web server file name
- web server file information
… to result in the table contents of our file (specification) table in our web application today.
You can try this out for yourself at today’s live run link with its underlying serverside PHP code you could call file_information.php as you wish.
If this was interesting you may be interested in this too.