I've been trying to find a script that can do the following;
I'd like to display the contents of a random text file in a box on a webpage.
There are 80 different text files in total, that I will store in a folder.
Each visitor should see a random file when they first visit, but if they then refresh the page, I want the same file to be displayed to them. (For a max period of 24 hours say.)
It should also display the name of the text file displayed.
Any help you can give is greatly appreciated.