NYCPHP Meetup

NYPHP.org

[nycphp-talk] Intermittent Header() Redirect Failures

tedd tedd.sperling at gmail.com
Fri Sep 24 14:16:00 EDT 2010


At 11:50 AM -0400 9/24/10, J. T. Gray wrote:
>No, some processing continues after the redirect.

Maybe I'm wrong, but I always assume that if I do a redirect then 
that's the end of that script. I always redirect and exit() -- end of 
story.

If you have some processing to do, then do it before the redirect.

Cheers,

tedd
-- 
-------
http://sperling.com/



More information about the talk mailing list