#########################################################
# PC Randomage Script #
#########################################################
# #
# #
# This script was created by: #
# #
# PerlCoders Web Specialties PTY. #
# http://www.perlcoders.com #
# #
# This script and all included modules, lists or #
# images, documentation are copyright only to #
# PerlCoders PTY (http://perlcoders.com) unless #
# otherwise stated in the module. #
# #
# Purchasers are granted rights to use this script #
# on any site they own. There is no individual site #
# license needed per site. #
# #
# Any copying, distribution, modification with #
# intent to distribute as new code will result #
# in immediate loss of your rights to use this #
# program as well as possible legal action. #
# #
# This and many other fine scripts are available at #
# the above website or by emailing the authors at #
# staff@perlcoders.com or info@perlcoders.com #
# #
# #
#########################################################
[Installation]
1.) Unzip files into subdirectory of your CGI bin.
2.) Use your favorite text editor to edit the file randimg.cgi.
In this file you will need to edit one variable; $IMGDIR.
Please specify a full path!
3.) In the specified path, upload all of the pictures that should be
picked at random. Supported filetypes are as follows:
.png
.gif
.jpg
4.) chmod 755 randimg.cgi to set the correct permissions on the file.
[Usage]
1.) You've got 2 options here. For all SSI nuts, you can call it via SSI.
2.) For the rest of us, we can use the IMG tag. It is exactly like putting
any other image on your site.
is one way, or
you may want to specify a complete URL, such as the following:
3.) This will successfully take a random image from the specified images
directory and display it.
[Features]
+Display random images
+Can be called via SSI
+Can be called via
tag
+Supports multiple graphic types
+Small filesize
[Support]
You can reach technical support at support@PerlCoders.com.
You can also visit http://www.PerlCoders.com/ for more information regarding
upcoming scripts, membership issues, and other things that may be of interest!