View Single Post
Old 08-18-2012, 08:17 AM  
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
PHP Code:
<?php
$arr 
= array("http://www.site1.com""http://www.site2.com");
header ("Location: " $arr[array_rand($arr)]);

Last edited by freecartoonporn; 08-18-2012 at 08:18 AM.. Reason: ref: http://stackoverflow.com/questions/8424987/how-to-create-a-random-header-location-in-php
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote