I used my nazi admin powers to get Squeekys code while he is away.
PHP Code:
<?php
//read folder
$folder=opendir("." );
$names = Array();
while ($file = readdir($folder))
$names***91;count($names)***93; = $file;
closedir($folder);
//sort file names in array
sort($names);
//remove any non-images from array
$tempvar = 0;
foreach ($names as $name)
{
$ext = strtolower(substr($name,-4));
if ($ext==".jpg"||$ext==".gif"||$ext=="jpeg"||$ext==".png" )
$names1***91;***93; = $name;
}
//random
srand ((double) microtime() * 10000000);
$rand_keys = array_rand ($names1, 2);
//random image from array
$slika = $names1***91;$rand_keys***91;0***93;***93;;
//image dimensions
$dimensions = GetImageSize($slika);
header ("Location: ***91;url***93;http://staff.planetside-universe.com/squeeky/Sigs/***91;/url***93;$slika" )
?>
Just put all the files in the same folder, and create a file called "sig.php" or something, link to it as if it was an image.
edit: obviously change the "header"