PHP Classes

File: Test.php

Recommend this page to a friend!
  Classes of Muhammad Ahmed Farid   Random Image   Test.php   Download  
File: Test.php
Role: Example script
Content type: text/plain
Description: Example to use this file
Class: Random Image
The class will select a random image from a folder
Author: By
Last change:
Date: 17 years ago
Size: 456 bytes


Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<title>Random Image Selector</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

include 'RandomImage.class.php';
$rndImage = new RandomImage();
"<img src='$imageFile'>";