View Single Post
  #4  
Old 03-16-2011, 03:06 PM
qasy qasy is offline
Senior Member
 
Join Date: Feb 2011
Posts: 121
Thanks: 11
Thanked 27 Times in 21 Posts
Default

random landing page rotator:

<?php
$urls[] = 'http://www.yourdomain.com/lp1.html';
$urls[] = 'http://www.yourdomain.com/lp2.html';
$urls[] = 'http://www.yourdomain.com/lp3.html';

$rand = rand(1,count($urls));
header("Location: ".$urls[$rand-1]);
?>

Last edited by qasy; 03-16-2011 at 03:07 PM. Reason: EDIT
Reply With Quote
The Following User Says Thank You to qasy For This Useful Post:
chrisd (04-13-2011)