I used php to randomize my splash page image, but every now and then the image is broken but if you were to right-click and show picture, you see that the image was still there
heres the url (<!-- m --><a class="postlink" href="http://www.antistat.net/">http://www.antistat.net/</a><!-- m -->)
I used :
<?php $image[0]='randomimage/image0.jpg'; $image[1]='randomimage/image1.jpg'; $image[2]='randomimage/image2.jpg'; $image[3]='randomimage/image3.jpg'; $image[4]='randomimage/image4.jpg'; $image[5]='randomimage/image5.jpg'; echo '<img src=http://www.htmlforums.com/archive/index.php/"',$image[rand(0,count($image))],'">';
?>$image[rand(0,count($image)-1)]
to have 0 to 5 and not 0 to 6
since when you view the source it give
<img src=http://www.htmlforums.com/archive/index.php/"">
heres the url (<!-- m --><a class="postlink" href="http://www.antistat.net/">http://www.antistat.net/</a><!-- m -->)
I used :
<?php $image[0]='randomimage/image0.jpg'; $image[1]='randomimage/image1.jpg'; $image[2]='randomimage/image2.jpg'; $image[3]='randomimage/image3.jpg'; $image[4]='randomimage/image4.jpg'; $image[5]='randomimage/image5.jpg'; echo '<img src=http://www.htmlforums.com/archive/index.php/"',$image[rand(0,count($image))],'">';
?>$image[rand(0,count($image)-1)]
to have 0 to 5 and not 0 to 6
since when you view the source it give
<img src=http://www.htmlforums.com/archive/index.php/"">