Lozinski's Random Image Scripts

There are two versions of these Random Image scripts!

Version #1:
Download
See demos!
Displays a random image, from within your HTML IMG tag(s), WITHOUT revealing the actual file name to the end user. Available in ASP, .NET, Java Servlet, PHP, and Perl!

Examples:
ASP:<IMG SRC="/scripts/random_image.asp">
.NET:<IMG SRC="/scripts/random_image.aspx">
Java:<IMG SRC="/jsp/LozinskiRandomImage">
PHP:<IMG SRC="/scripts/random_image.php">
Perl:<IMG SRC="/cgi-bin/random_image.pl">

Version #2
Download
See demos!
Randomly selects an image name to display within your HTML code. Available in ASP, .NET, JSP, and PHP!

Examples:
  Tag Used in Code: Possible IMG TAG Output:
ASP: <%=DisplayRandomImage%> <IMG SRC="/gfx/image1.gif">
.NET: <Lozinski:RANDOMIMAGE2
ImageDirectory="../gfx/"
RUNAT="server" />
<IMG SRC="/gfx/image2.gif">
JSP: <%=DisplayRandomImage()%> <IMG SRC="/gfx/image3.gif">
PHP: <?=DisplayRandomImage()?> <IMG SRC="/gfx/image4.gif">


Version 1 Language
    ASP/VBScript .NET Java Servlet Perl PHP
PLATFORM/OS Windows Server [click here] [click here] [click here] [click here] [click here]
Unix     [click here] [click here] [click here]

Version 1 Demos:
Perl:
<IMG SRC="/cgi-bin/random_image.pl" ALT="">

It's that simple! Hold down the "shift" key and click the "RELOAD" button on your browser to see another random picture, and hope you don't get a transparent gif!
PHP:
<IMG SRC="random_image1.php" ALT="">

It's that simple! Hold down the "shift" key and click the "RELOAD" button on your browser to see another random picture, and hope you don't get a transparent gif!

Version 2 Language
    ASP/VBScript .NET JSP PHP
PLATFORM/OS Windows Server [click here] [sample aspx file]
[class file]
[scriplet code]
[class file]
[click here]
Unix     [scriplet code]
[class file]
[click here]

Version 2 Demo:
PHP:
Click here to see this script in action!