website view lib/random-image.php @ rev 1173

clean up main index, add files and now waiting on CGI/SHell support
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 08 11:11:43 2014 +0100 (2014-01-08)
parents e06721d4f040
children
line source
1 <?php
3 $total = "15";
4 $folder = "/images/slideshow";
5 $start = "1";
6 $random = mt_rand($start, $total);
7 $name = $random . ".png";
9 echo "<img src=\"$folder/$name\" alt=\"SliTaz screenshot #$random\" />";
11 ?>