here is a very simple example in php
<?php
$urls = file('urls.txt');
$rand = array_rand($urls);
header("Location: {$urls[$rand]}");
?>
in urls.txt make each line a url
this is just a simple example and should be put before output otherwise you technically could put ob_start() at the beginning and supress output
|