selecting random files
Posted: Tue Sep 18, 2007 9:00 am
This should be easy for you guys but I don't even know where to start:
I've got a folder that I add and subtract html files from. At any point, when the user submits a form, I want to exit to a random html file in that folder. How do I select the file randomly?
I've got a folder that I add and subtract html files from. At any point, when the user submits a form, I want to exit to a random html file in that folder. How do I select the file randomly?