pasenseoso
Power Member
- Aug 19, 2011
- 765
- 141
I got some cloaking code and it works perfectly with firefox. But, it does not work on google chrome. Can somebody help me fix this code??? I'm doing double meta refresh.
first php file :
second php file (saved as offer.php) :
and got a text file with the links to get redirected randomly.
Here's what it do :
1. redirect to the links in the offer.txt file (random)
2. it does work on firefox
3. DOES NOT work in Google Chrome.
Does anyone have a solution for this???
-drey
first php file :
Code:
<?php
echo "<meta http-equiv=\"refresh\" content=\"0;url=offer.php\">";
?>
second php file (saved as offer.php) :
Code:
<?php
$sites = array_map("trim", file("offer.txt"));
$redirect = $sites[array_rand($sites)];
$referer = $_SERVER['HTTP_REFERER']; if($referer == "")
echo "<meta http-equiv=\"refresh\"content=\"0;url=http://".$redirect."\">";
else
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.google.com\">";
}
?>
and got a text file with the links to get redirected randomly.
Here's what it do :
1. redirect to the links in the offer.txt file (random)
2. it does work on firefox
3. DOES NOT work in Google Chrome.
Does anyone have a solution for this???
-drey