|
Description: The script simply takes the name of a directory and returns a random file from within that directory. An example of its use is provided by means of script to play the game Scissors/Paper/Stone. Once a random filename has been selected, the uses of it are vast, as in the example the contents of the file can be displayed or parsed, or for an image file the contents could be displayed via an IMG tag.
|