P
pshbl1
Guest
I'm using the following scripts, nothing unusual just the normal DMR;
Traffic first goes to this script;
Which then executes the following script;
I want to dilute the conversion rate and have tried executing the first script via a CRON job however I assume due the the META REFRESH the second script is not being executed.
How can I automate execution of the second script but still keep the referrer blank? Any advice gratefully received as this is stopping my campaign going live and is doing my swede in.
Traffic first goes to this script;
Code:
<?php
echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.xxx.com/t2.php\">";
?>
Code:
<?php
// Open our links file
$sites = array_map("trim", file("links.txt"));
// Grab a random URL
$redirect = $sites[array_rand($sites)];
$referer = $_SERVER['HTTP_REFERER']; if($referer == "")
// Redirect to our Random URL
echo "<meta http-equiv=\"refresh\"content=\"0;url=http://".$redirect."\">";
else
{
// Referrer is not blank send traffic to our homepage
echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.yoursite.com\">";
}?>
How can I automate execution of the second script but still keep the referrer blank? Any advice gratefully received as this is stopping my campaign going live and is doing my swede in.