Friday, August 6, 2010

RANDOM IMAGE SCRIPT 2

[code]

//set the urls
$urls = array("/Beach/beach/widescreen_wallpaper_boracay_white_beach-dsc03104%20(1).jpg"
,"/Hollywood/Kally%20Brook/kelly-brook-12.jpg"
 ,"/Bikini/swimsuit/normal_21.jpg");
        srand(time());

//set the number in (rand()%3); for however many links hidden there are
        $random = (rand()%3);
echo ("");

?>
[/code]

No comments:

Post a Comment