![]() | | ||||||||
| | #1 |
| Senior Warrior Member War Room Member Join Date: Jun 2007 Location: West Palm Beach, FL, USA.
Posts: 1,506
Thanks: 399
Thanked 436 Times in 225 Posts
|
Hi All, I just did a search to find instructions and the code for doing a double meta refresh. I found it along with a fairly clear explanation (finally!) on how to do a double meta refresh here: http://www.tareeinternet.com/forum/f...a-refresh.html However, I'm a little unclear on how to integrate it with a simple PHP script that rotates different offers automatically. Here's an example of the rotator script I've used right on the landing page: $counthandle=fopen("count.txt","r"); $getcurrent=fread($counthandle,filesize("count.txt ")); fclose($counthandle); $getcurrent = trim($getcurrent); switch($getcurrent){ case "1": $link = "http://myaffiliatelink.com"; $offer = "Target $500 Gift Card -- CPA Empire (6757)"; $getcurrent = "2"; $offer_text = "Vote Now For a Chance To Win A Cool Gift<br><br>Enter your e-mail address on the next page to continue."; break; case "2": $link = "http://myaffiliatelink.com"; $offer = "JC Penney $500 Gift Card -- CPA Empire (6762)"; $getcurrent = "3"; $offer_text = "Vote Now For a Chance To Win A Cool Gift<br><br>Enter your e-mail address on the next page to continue."; break; case "3": $link = "http://myaffiliatelink.com"; $offer = "Sears $500 Gift Card -- CPA Empire (6764)"; $getcurrent = "1"; $offer_text = "Vote Now For a Chance To Win A Cool Gift<br><br>Enter your e-mail address on the next page to continue."; break; } //update the file $counthandle=fopen("count.txt","w"); fputs($counthandle,$getcurrent); fclose($counthandle); Can someone please tell me how to integrate the two? Thanks so much! Michelle |
| "You can't market here. This is a marketing discussion forum!" | |
| | |
![]() |
|
| Tags |
| double, integrate, meta, refresh, rotator, script |
| Thread Tools | |
| |
![]() |