[thelist] random page instead of random image

Kasimir K evolt at kasimir-k.fi
Thu Apr 29 09:09:09 CDT 2004


Hi Philip,

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

If you are using PHP 4.2+ you don't have to use srand anymore.

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

how about doing it like this:

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

.k


More information about the thelist mailing list