[thelist] random page instead of random image

Warbasse Design - Info info at warbassedesign.com
Thu Apr 29 08:43:53 CDT 2004


Hi Folks,

Is there anyone who can provide assistance locating/creating a script that
will randomly pull in one of five pages (random1.html - random5.html) on
refresh.  I tried a simple php script (below) but, had an error.

<?

    srand((double)microtime()*1000000);

    $newpage = http://www.warbassedesign.com/random.rand(1,2).".html";

    header("Location: $newpage");

?>

There's lot's of random image javascripts "on refresh" but, not alot of
random page "on refresh" scripts
Any assistance is greatly appreciated.

Best,
Philip Warbasse
www.warbassedesign.com



More information about the thelist mailing list