Are you 100% sure on this as I have been sucessfully using a script that has alot code after the header("Location: <URL>") line and it seems to be working fine?
psuedocode:
LOOK UP NEXT BANNER IN 'NEXTAD' TABLE
HEADER("Location: <BANNER URL>")
LOG BANNER IN LOG TABLE
INCREMENT BANNER SHOWS IN MEMBER TABLE
WORKOUT NEXT AD FOR THIS MEMBER AND ENTER IN 'NEXTAD' TABLE.
The whole reason I have done this 'NEXTAD' table idea is so I can have most of the code after the header redirect - I thought this may be faster. But it does seem to work okay at least?
Thanks
Will