Thread: PHP experts
View Single Post
Old 11-29-2004, 10:49 AM  
LoveHenk
Confirmed User
 
Join Date: May 2004
Location: Netherlands
Posts: 308
Try this:

<?php
$files = array();

// Define
$files[] = 'hardcore-01.html';
$files[] = 'hardcore-02.html';

$files2 = array();
// Define
$files2[] = 'hardcoregallery-01.html';
$files2[] = 'hardcoregallery-02.html';


$num = rand(0,sizeof($files)-1);

readfile($files[$num]);
readfile($files2[$num]);
?>
LoveHenk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote