Hi I looked through the forum and help files and couldn't find anything specific to my question.
Is it possible with MACROS to redirect to a specific list of URLs? Sometimes 1 or 3 or 4 different URLs.
Currently I'm redirecting to a PHP file that decides which URL to randomly show.
I'm hoping there is someway of doing this directly in ReDJ?
Any help is much appreciated.
Here's the PHP file I'm using
<?php
$link[1] = "
www.URL1.com";
$link[2] = "
www.URL2.com";
$link[3] = "
www.URL3.com";
if(!isset($HTTP_cookie_VARS['link'])){ $n=count($link);
$rand=rand(1,$n); setcookie("link",$rand,time()+1500);
header('location:'.$link[$rand]); }else{ $go=$link[$_COOKIE['link']]; header('location:'.$go); }
?>