[PHP] PHP Redirect in the middle of code?

2001-09-10 Thread Andrew Penniman
I am trying to figure out how to use PHP to redirect the user to a new location *after* processing and most likely outputting a bunch of code. Because this redirection would happen late in the game I can't use header(Location: .$redirect_to); I come from a ColdFusion background and am used to

RE: [PHP] PHP Redirect in the middle of code?

2001-09-10 Thread Andrew Penniman
The Steve Edberg (option #2) and Michael Kimsal suggestions to use ob_start() output buffering work like a charm. Thanks so much! I would have been a long time coming before I mad this connection on my own. Guess I need to hone my archive querying skills... I think it would be _really_ swell