View Single Post
Old 07-24-2008, 02:56 PM  
mrkris
Confirmed User
 
Join Date: May 2005
Posts: 2,737
Quote:
Originally Posted by Jaysin View Post
wait, let me try this

PHP Code:
<?php
$outurls 
= array("http://site1.com""http://site2.com""http://site3.com""http://site4.com""http://site5.com""http://site6.com""http://site7.com");
$r rand(0count($outurls));
header("location: " $outurls[$r]);
?>
yay!!
Your code isn't optimized, so I'm not going to even give it a moment of my time. Sucker.
__________________

PHP-MySQL-Rails | ICQ: 342500546
mrkris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote