<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Random Image Selector</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php include 'RandomImage.class.php'; $rndImage = new RandomImage(); $imgDir="Images/"; $imageFile=$rndImage->getRandomImage($imgDir); print "<img src='$imageFile'>"; ?> </body> </html>
info at phpclasses dot org