Hi mates, I own a modified version of Interspire Email Marketer which can process pop3 and also imap accounts. Currently I want my programmer do expand it with an "Url (text link) Rotator" which includes affiliate links in outgoing emails by variables. For this I need a Url/text link rotator script as a basis so that my programmer can use, modify and integrate it in IEM. Can anyone recommend a proper script for this purpose or have anyone a copy of http://codefu.net "URL Rotator Script v3" which seems appropriately. Also if anybody have a self coded solution for this ready just send me a pm! Thank you, makromedia
Why not just code in something like this: PHP: $mylink[1] = 'www.google.com'; $mylink[2] = 'www.google.com';$mylink[3] = 'www.google.com';$mylink[4] = 'www.google.com';$id = rand(1,count($mylink));echo "<a href=\"$mylink[$id]\">CLICK HERE</a> \n"; OR If u want it in variables so easy changable PHP: $url1 = $_POST["url1"];$url2 = $_POST["url2"];$url3 = $_POST["url3"];$url4 = $_POST["url4"]; $mylink[1] = '$url1'; $mylink[2] = '$url2';$mylink[3] = '$url3';$mylink[4] = '$url4';$id = rand(1,count($mylink));echo "<a href=\"$mylink[$id]\">CLICK HERE</a> \n"; then on your admin panel have something like this Code: <form method="post" action="post.php"> URL #1:<input type="text" size="12" maxlength="80" [COLOR=#ff0000]name="url1"[/COLOR]><br /> URL #2:<input type="text" size="12" maxlength="80" [COLOR=#ff0000]name="url2"[/COLOR]><br /> Etc... Post.php is just example...
Thank you 00CivicEX for your code example. But I'm afraid I need some more extensive functions as link rotating definied with a specific weight ratios (% or 1-10). So a link with weight 10 get 10x more often rotated than a link with a weight of 1. And the most important thing is I need this all fully integrated in Interspire Email Marketer And some more features I need. As I said the "URL Rotator Script v3" from http://codefu.net covers the most of my needs.
Okay thanks. I'm just talking to my programmer about it. Maybe I'm willing to share our expanded version if Interspire Emailmarketer here