If you have any affiliate links, you may find this script very useful. With this script, you are able to "hide" an affiliate link!
Create a file called jump.php and use the following code as an example:
<?php
if ($m == "") {$link = "http://www.yourwebsitehere.com";} //Jump to index if jump.php accessed directly
if ($m == "RoboForm") {$link = "http://www.roboform.com/?affid=jjz24";} //RoboForm
header ("Location: $link"); //Jump to the hidden URL above
exit();
?>
- Replace "yourwebsitehere.com" with your main URL
- Replace "RoboForm" with a name of your choice which will identify your affiliate link
- Replace "/roboform.com/?affid=jjz24" with your affiliate link
- Replace "//RoboForm" with something to uniquely identify your link for your own records
- Add additional links by creating a new line and filling in the informaiton
On another page (mine is faq.php, for example), link to the affiliate link like this:
<a href="jump.php?m=RoboForm">Roboform</a> is the top-rated Password Manager and Web Form Filler that completely automates password entering and form filling.
- Replace "m=RoboForm" with the name you gave your affiliate link
If you want to try it for yourself, click this link (website still in development): www.findasurvey.com/jump.php?m=RoboForm. Within the website, if a visitor hovers the mouse over the link, it will display "jump.php?m=RoboForm" at the bottom with no hint to an affiliate link.
And that's it. Enjoy!


Comments: 5