What is it ?
Random Image Displayer is a simple script to display a Random image or
background on your Web page.
- Perl 4.0 or newer; you can get it at http://www.perl.com/
Download current version
- A web server, you must have access to add / execute CGI scripts.
Current version is v1.0, created 05/30/99, last modified 05/30/99.
What this archive contains ?
Download source code / scripts and documentations :
Tar/Gzip archive : RandomImg.tar.gz (0 Ko)
DOS Zip format : RandomImg.zip (0 Ko)
This archive comes with 5 differents files:
Installation and Configuration:
1) COPYING: Copyright informations (GPL).
2) README: This file.
3) LISEZMOI: French doc...
4) random-img.cgi: The Perl script.
5) Random-IMG.txt: Example of image file.
It's a Perl script, so installation is pretty easy. You don't need to
How to run it ?
Copy random-img.cgi in your /cgi-bin/ directory
Make it executable, unix only (chmod a+rx random-img.cgi)
Edit random-img.cgi, you will have to do some configuration:
Change #/usr/bin/perl, if it's necessary...
Change in "Necessary Variables Section"
$RandomTextFile = "/Absolute/path/to/Random-IMG.txt";
Path to images list file.
$BaseImg = "http://www.hostname.dom/images/Digits/";
URL of images dir.
Configure this if you want logs users...
$UseLog = 0; # Use Log File ? 1 = YES; 0 = NO
$LogFile = "/Absolute/path/to/Random-IMG-Log.txt";
Edit Random-IMG.txt, add your list.
You should add 1 image / line, if it begin by http://, it will be
directly displayed, else it display
Add in your web page :
Version 1.0 05/30/99 - Archive Created.
This software is copyright (C) 1999 Frederic TYNDIUK. It is distributed
under the terms of the GNU General Public License (GPL). Because it is licensed
free of charge, there is NO WARRANTY, it is provided AS IS. The author can not
be held liable for any damage that might arise from the use of this software.
Use it at your own risk.
See the file COPYING for more details (or http://www.gnu.org/).
Latest version and New Scripts can be found at:
Please feel free to contact me with any comments, suggestions, bug fixes
criticism, or just a happiness messages.
If you run into any problems while trying to configure these scripts
first read this file carefully, if you don't find any solution, send me a Mail.