Random image script usage example

Refresh the page (press F5 in most browsers) to see the random image change.

 

  1. Random image from a default image folder:

    HTML code used:
    <img src="randim.php?type=1">
     

  2. Random image as a PHP include:

    PHP code used:
    <img src="<?php $_GET['type']=0; include 'randim.php'; ?>">

 

For further information on how to use the Random Image PHP script see Readme file

 

 

Random image script by Free PHP Scripts.