Quote:
Originally Posted by AnniKN
Nice one directfiesta  although this is not my thread, if you could post it I would appreciate it - thank you! 
|
you need to create a link.php file ( or name it whatever you want ) and upload on your site:
PHP Code:
<?PHP
if ($o == "l1") {$link = "http://www.lunarpages.com/id/my_id";} // Default link
if ($o == "l2") {$link = "http://www.yahoo.com";}
if ($o == "l3") {$link = "http://forums.digitalpoint.com";}
if ($o == "l4") {$link = "http://blog.findinforums.com";}
header("Location: $link"); // Jump to the hiddden affiliate URL above
exit();
?>
then you put your link in your page(s) like:
http://www.mydomain.com/links.php?o=l1 ( goes to lunarpages )
http://www.mydomain.com/links.php?o=l2 ( goes to yahoo )
etc ....
easy, no db ....