View Single Post
Old 03-25-2007, 09:18 PM  
Beaver Bob
Confirmed User
 
Beaver Bob's Avatar
 
Join Date: Aug 2005
Location: Las Vegas, NV
Posts: 1,099
one quick way you could do that is create an array of all your links, and then generate a random number between 0 and the number of links - 1 and use that number.

so like this if you had 3

Code:
<?php 
$url[0] = 'http://www.fuck.you/fuckoff.html';
$url[1] = 'http://www.suckmyballs.com';
$url[2] = 'http://www.lickmynuts.com';

$fuckingNumber = strval(rand()%3);

include($url[$fuckingNumber]);
?>
__________________
Spunky Dollars | Need Content?
Paysite Owners: Protect Your Members Area with Strongbox

361-574-229
Beaver Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote