Testing Random

Testing the radom.php code that picks a photo from all photos contained in the same directory.

http://mac.fiveforks.com/rotatethumbs/jeb/rotate.php

Nicki was wondering what would happen if you had it displays three times. The random generator uses the current time, so you get the same random choice all three times.

Random 1

Random 2

Random 3

So no go.

Leave a Reply

Your email address will not be published. Required fields are marked *