View Single Post
Old 09-13-2015, 02:13 AM  
klinton
So Fucking Banned
 
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
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! View Post
you could do that with most traffic trading scripts
klinton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote