Login   Register  
PHP Classes
elePHPant
Icontem

Random Image: The class will select a random image from a folder

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-03-20 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 889 All time: 3,684 This week: 2,118Up
Version License Categories  
randomimage 1.0FreewareGraphics, Files and Folders
Description Author  

This is a simple class that can pick a random image from a specified folder.

The class traverses a given directory and pick one file from all those that have file name extensions typical of image files like .gif and .jpg.

Picture of Muhammad Ahmed Farid
Name: Muhammad Ahmed Farid <contact>
Classes: 1 package by
Country: Pakistan Pakistan
Age: 34
All time rank: 227231 in Pakistan Pakistan
Week rank: 1874 Up35 in Pakistan Pakistan Down

  Files folder image Files  
File Role Description
Accessible without login Image file EmptyFolder.gif Icon The empty folder image.
Plain text file RandomImage.class.php Class The base class to pick a random image
Accessible without login Plain text file Test.php Example Example to use this file

 Version Control Unique User Downloads Download Rankings  
 0%Total:889All time:3,684
 This week:0This week:2,118Up