Here is exactly what I need done....
I need a script which will allow me to track referrals from a website. The purpose is to allow other sites to send traffic to my site and then their Affiliate Links would be used instead of my own. Each SITE would have to set up a login, then they can login and add their affiliate link to my database so that when they referred (through the link below), a cookie would be set and used for the next 20 days:
For example: [url removed, login to view]
This link should then set a cookie (which would expire after 20 days).
This cookie would be used to query THEIR affiliate link from my database so that whenever this user returned to that page on my site - their affiliate link would be the one active.
It would be nice to additionally show them their 'clicks' as well, so that they know they are sending people over.
I need this by TOMORROW AT THE LATEST!!!! You must have good feedback to be considered.