Q1: How do I set up the SSI Random Image script?

Answer

To set up the SSI Random Image script:

  1. Upload the script:
    Upload ssi_image.pl to /cgi-bin/
    chmod 755 ssi_image.pl
  2. Configure image directory:
    $image_dir = "/home/user/public_html/images/random/";
    $image_url = "/images/random/";
  3. Include in your .shtml page:
    <!--#exec cgi="/cgi-bin/ssi_image.pl"-->
Note: Your server must have SSI enabled for this to work.
Back to SSI Image FAQ Next Question