Create a PHP file named "urls.php" with the URL's sorted each on its own line. IE:
Then create a PHP file named random.php with the following contents:
PHP Code:
<?PHP
$lines = file("urls.php");
$total = count($lines);
srand(time());
$random = (rand()%$total);
echo $lines[$random];
?>
Usage:
PHP Code:
<A HREF="random.php">Click here for random link</A>
You may contact me via the methods below for my PayPal address
