I would recommend using a script that doesn't show the URL as with Jagarm's example. If I were reading a book, I would skip the affiliate.php and just go directly to the site. Have someone make you one that looks like so: a.example.com/1
That way they can't find out the URL without going though your website first.
(I will try to make something like this, it might take a while though)
Main Topics
Browse All Topics





by: JagarmPosted on 2009-07-04 at 10:13:05ID: 24777382
If you want to record information about your affiliates, you may need to use a server side language such as php, asp/asp.net or anything else.
affiliate. php?site=w ww.google. com,
In PHP for example, if you want to link to a web site, but first want to record the number of visits to that web site, is to pass the web site as follow:
http://www.yourdomain.com/
so in the server side of affiliate.php you would read the site as $_GET['site'] and do whatever you want and then direct the user to the site they clicked.
I'm not really sure what web language you are most comfortable with, and it depends if your host supports it, these days almost all host have php installed