I'm using PHP 5.0 and a simple team building script. However, each member's affiliate ID such as www.example.com/test where test is the username is not transferring to all pages.
So if someone clicks the register link and doesn't join right away because the person clicked to another page and then registers, that member will not be the sponsor; the system will be the sponsor because the affiliate ID was not transferred to all pages.
How can I make the members' affiliate id transfer to all pages?