123RandomImage
123RandomImage is a simple PHP random image
script that does not require MySQL or any
other sort of database. Simple edit 1 line,
upload, and your set to go! You do not
require any knowledge of PHP scripting to
install it. You can include random images
into your pages by using the standard tags,
no adding PHP code into your pages again!
How do I configure it?
Simply change the $path directive in the
randomimage.php file to point to the
directory that contains the random images.
All files ending with .jpg, .jpeg, .png and
.gif in this directory will be added to the
collection of random images. For example, if
all your random images were stored in a
subdirectory of the directory randomimage.php
is in called random-imgs, you could leave
this as is as:
$path = './random-imgs/';
To display the random images in a HTML
document, simply call randomimage.php like
any other image. For example:
would display a random image, as long as the
file you are calling it from is in the same
directory as randomimage.php
GNU General Public Licence
http://rdv.lorikeet.id.au/123randomimage.html