View Full Version : I Need A Random Image Script...+REP
Jargit
25-08-2006, 07:59 PM
I Havnt tried looking coz im too lazy :P
Doesnt anyone know of any random image script that i could like use for a random affiliate thing ?
Thanks +REP to all those that deserve it :D
Colin-Roberts
25-08-2006, 08:38 PM
<?php
$images = 10; //number of images to be displayed
$path = "shotrotation/"; //this is the path to the folder where
//the images are stored.
$random = rand(1,$images);
echo "<img src=$path"."$random".".jpg"." border='0'>"
?>
Jargit
25-08-2006, 08:56 PM
I Owe u rep. i need to spread 1st :P
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.