FREE PHP/MySQL script allows affiliates to sign up, login and out, get links, change their details, see their stats, and retrieve lost passwords. Affiliate hits and sales are recorded in the database. PayPal code included.
Optional accompanying affiliates management script allows affiliate management, mailshots (with attachments) and includes a full monthly hits/sales statistics module which shows all the data (and becomes available in the front-end too).
Online demo available so you can see it in action.