After Width: | Height: | Size: 248 KiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 486 KiB |
After Width: | Height: | Size: 732 KiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 2.0 MiB |
After Width: | Height: | Size: 2.0 MiB |
After Width: | Height: | Size: 694 KiB |
After Width: | Height: | Size: 805 KiB |
@ -0,0 +1,14 @@ |
||||
<?php
|
||||
$img_array = glob("gallery/*.{gif,jpg,png}",GLOB_BRACE); |
||||
|
||||
$img = array_rand($img_array); |
||||
|
||||
$imgurl=$img_array[$img]; |
||||
|
||||
if($imgurl) { |
||||
header("Location: " . $imgurl); |
||||
exit(); |
||||
} else { |
||||
exit('error'); |
||||
} |
||||
?> |