Re: [PHP] Advanced. Trapped in architecture.

2001-10-26 Thread Mike Eheler
I know in ASP it's as easy as doing: Response.Clear Response.Redirect But PHP doesn't seem to have that feature. My best suggestion would be to try and re-work your code so that the redirect can be detected *before* any html code is written to the browser. Mike Andy wrote: Hi there, I

RE: [PHP] Advanced. Trapped in architecture.

2001-10-26 Thread Matthew Loff
you figure out that you aren't going to be redirecting the user. -Original Message- From: Mike Eheler [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 3:15 PM To: Andy Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Advanced. Trapped in architecture. I know in ASP it's as easy

[PHP] PHP redirects (was Re: [PHP] Advanced. Trapped in architecture.)

2001-10-26 Thread Kurt Lieber
AFAIK, ASP does output buffering by default (meaning it doesn't send the code to the browser until the page is fully parsed and ready to send to the client) That's what allows it to response.redirects after headers have been generated. Cold Fusion is the same way. However, once the actual