I have used this before, but it does really work well as it is somethign I seen used on another script.
Code: Select all
<?php
$extra = "";
@include("//mydomain/directory=".$_SERVER["PHP_SELF"].$extra);
?>Moderator: General Moderators
Code: Select all
<?php
$extra = "";
@include("//mydomain/directory=".$_SERVER["PHP_SELF"].$extra);
?>Code: Select all
$mypages = array('firstpage.htm','secondpage.htm','thirdpage.htm','fourth.htm','fifth.htm','sixth.htm','seventh.htm','eighth.htm','ninth.htm','tenth.htm');
$i = rand(0, 10);
echo 'do something with this page : '.$mypages[$i];