This is another very simple script which will pick a random file, given search critera (and not defining every file). Multiple searches are supported.
First, set the $BaseURL variable to "http://server.com/". Next add searches to $RandomArray. All searches look like this:
Upload to your server in ASCII mode, chmod 775. To get a random file go to http://server.com/cgi-bin/ranfile.pl?Search Since this script uses redirects you don't need to worry about setting up mime types within the script, the server should take care of that.
"By downloading this script I agree to indemnify DataDragon Information Services from any damage that could be done by this script. In other words, it's my own tough cookies if this script wreaks havok on my web server."
Listing of Scripts|