[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 HT

RE: [PHP] Advanced. Trapped in architecture.

2001-10-26 Thread Matthew Loff
put buffer when 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

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 h

[PHP] Advanced. Trapped in architecture.

2001-10-26 Thread Andy
Hi there, I have a serious problem in my programming architecture. The architecture looks like fusebox (those of you familar with CF might now this a.) The point is, that I am sending html code at the beginning. Body tag and so on. Now there is the content. And inide this content there might be