I’m using PHP + Header(‘Location: greatcasino/affiliateid’); and i have no problems. For affiliate programs it doesn’t matter if you click the link or redirect it, as long as you pass the affiliate id or whatever tracking method used by the affiliate program.