View Single Post
Old 06-19-2008, 10:17 AM  
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,784
Quote:
Originally Posted by AnniKN View Post
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 ....
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote