Double Meta Refresh?

Status
Not open for further replies.

kmdixit76

Newbie
Joined
Aug 5, 2008
Messages
28
Reaction score
0
Hi i am using this code found here in this forum i just need a little help with this ,as this code will first redirect from url1 to url2 , and then from url2 to mine affiliate link , but the problem is that it check wether the url2 refferer is NULL if yes then goes to the affiliate link otherwise will not go for affiliation link, so CPA would never know from where traffic comes from , i want to add mine custom refferer when being redirected to afiiliation link, so they can see from where traffic comes from.

Code used is here:

URL1:


<?php

echo "<meta http-equiv=\"refresh\" content=\"0;url=URL2\">";

?>

URL2:

<?php

$referer = $_SERVER['HTTP_REFERER'];

if($referer == "")

{

echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.youraffiliatelink.com\">";

}

?>

Hope i will get help soon as i saw this forum is full will genious guys.
thanx
 
Last edited:
Read here, its all explained there:

http://www.blackhatworld.com/blackhat-seo/black-hat-tools/20750-double-meta-refresh-redirects.html

No need to make uneccessary threads eh ;-)
 
Status
Not open for further replies.
Back
Top