Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Ad Networks - CPA, CPM, CPL - Millionaire Makers..
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 05-03-2009, 04:47 AM   #1
Senior Warrior Member
War Room Member
 
Nightengale's Avatar
 
Join Date: Jun 2007
Location: West Palm Beach, FL, USA.
Posts: 1,506
Thanks: 399
Thanked 436 Times in 225 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default How to Integrate a Double Meta Refresh with a Rotator Script?

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!"
Nightengale is online now   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Ad Networks - CPA, CPM, CPL - Millionaire Makers..

Tags
double, integrate, meta, refresh, rotator, script

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 02:42 PM.