If you are promoting a product as an affiliate, it's important that you try to conceal your affiliate link. If you don't, it's only too easy for some unscrupulous people to hijack your affiliate commission by replacing your affiliate link with theirs. There are many ways to hide your links, but the method I'm going to show you here is easy and virtually fool-proof.
All you need is some web space which supports the PHP web scripting language (most hosting accounts support this) and some FTP software.
Simply use a text editor to create a file which just has this code in it:
<?php $URL=http://www.someproduct.com/aff.php?aff=1234";
header ("Location: $URL");
exit();
?>
.. where the HTTP bit is your affiliate link.
Save this file with a file name which ends with the suffix ".php", such as:
someproduct.php
Then upload it to your web server and send your prospective affiliate customers to it via an address like this:
http://www.mydomain.com/someproduct.php
It's impossible to intercept this link and extract your affiliate link!
You can find more info on link cloaking in the web page below