Want a simple random image script? Here it is!
Code:
<?php
$dir="./";
$nimg="10";
$itype="jpg";
$bor="1";
$rnumb=rand(1,$nimg);
echo "[img][/img]";
?>
How To Use It:
$dir="./"; - This is the path (directory) to the images, it must include the foward slash.
$nimg="10"; - Number of images in the folder.
$itype="jpg"; - The image type (don't Include the ".").
$bor="1"; - The image border, 0 is no border, 1 is a 1 pixel border.
Add the code the where ever you want it to apprear on the web page.
Make sure the web page file type is .php.
All image names must be a number (Example: 1.jpg 2.jpg 3.jpg).
Hope this is useful.