I use wordpress, not traffic trading script

I tried to "hack it" by editing index.php and putting there random php array...and put as one of the options "normal site" with redirect to site.php instead of index.php
however, the problem is that now "normal" site doesnt load at all, there are just redirects...like wp_header.php call wouldnt work in file different than index.php....why ????
<?php
$urls[] = "http://www.originalsite.com/site.php";
$urls[] = "http://www.redirect1.com";
$urls[] = "http://www.redirect2.com";
$urls[] = "http://www.originalsite.com/site.php";
srand ((double) microtime( )*1000000);
$random = rand(0,count($urls)-1);
header("location:" . $urls[$random]);
exit;
?>
Quote:
Originally Posted by sandman!
you could do that with most traffic trading scripts  
|