I am looking to build a web-based script that will rebrand affiliate links in a PDF format. This script must be compatible with [url removed, login to view]'s email system. The interface would consist of:
1. an opt-in page for users to download the pdf for free.
2. a built in affiliate program whereby affiliates can login and set their unique Affiliate IDs, Ie. Clickbank, Amazon, Paydotcom, Etc.
3. an admin login to check affiliates, user stats and downloads.
The script would work like this: Affiliate sends out an email to list, their subscribers come to get the free PDF, when the subscriber lands on the opt-in page and enters first name and email, the affiliate's rebranded PDF is generated in the back end using the affiliate's unique setting entered into the affiliate back-office to rebrand the PDFs affiliate links. Then the system would automatically send out an email or display a download page to the user to download the rebranded PDF.
If an new PDF is uploaded into the system by the admin the system will automatically rebrand the PDF using each affiliate's unique IDs and send the rebranded PDF to all the affiliate's referred users without the affiliate's need to be involved in the process.