Download Perl Scripts

Random Image 1.0Random Image - $0.00 Version 1.0
Add to Cart



back
download
support
demo/see it work
RSS Feed
_______________________________________

Random Image by CrookedBush.com Inc.
Intelliscript.net
(c) 2000-2003 Jason Silver

_______________________________________
Thanks for Registering!


Report any bugs to jasonsilver@crookedbush.com.

Yours,
Jason Silver

_______________________________________
Overview:
--------

Place Random JPEG or GIF images
anywhere within your page content.

_______________________________________
Installation Overview:
-----------------------

1. Setting some options at the beginning of the script files (*.pl)
2. Using FTP to upload all the files
3. Setting permissions on the files
4. Testing the script

_______________________________________
Here's How!
-----------

1. Using a text editor like textpad, or notepad, open the .pl script
Change the path to perl so that it's configured for your server.
It's usually:
#!/usr/local/bin/perl
or
#!/usr/bin/perl

Make changes to the variables at the top as well:
$base_directory = "/images/random/";
$datapath = "/images/random/";
$align = "left";
$border = "1";

2. Use an FTP program like WS_FTP or CuteFTP (just some examples I'm aware of) and
upload the files to your server.
It's easiest to put everything in the CGI-BIN.

Upload pictures to your pictures directory as well.

3. Set permissions (CHMOD) on the *.pl file so it's executable. (755).
The owner should be able read, write, and execute.
The group should be able to read, and execute.
Also, other should be able to read, and execute.

4. Insert the following into a text file and rename it to test.shtml:
<!--#exec cgi="/cgi-bin/random_image.pl"-->

5. Place the above HTML clip in any page that you want a random picture.
Be sure the page has a Server Side Include extension (.shtml), or
that you have enabled SSI on all html pages. You may need your site
administrator to enable this feature.

That's it! You're set! Let me know if you have problems.

Yours,
Jason Silver

_______________________________________
www.CrookedBush.com




 
top next download faq demo/see it work purchase xml pad file RSS Syndication OPML List - All Programs



[admin]

FileCABINET Script - Create a File Download section on your site.

In the Spotlight

BookViewer Skins $10.94
Add to Cart
 BookViewer Skins is a plugin for the regular BookViewer script. This download includes a number of styles to choose from. Simply indicate which style you wish to appear with this book at the top of the books text file. This script does the rest, customizing the page layout, the page size, the numbering, the chapters, and more.
[more & download links]

What People Say

iTreePad $0
Add to Cart I'm very disappointed about this script.
I thougt it will be look like the original Treepad file with all its tree icons.
And the online edit feature is a joke!
Poured $10 down the drain.

[more & download links]

Post Page Comment