Reply to Re: Baffling! Redirects with header() takes minutes to respond.

Your name:

Reply:


Posted by Wayne on 11/16/05 07:01

On 15 Nov 2005 18:35:06 -0800, "Monty" <monty3@hotmail.com> wrote:

>The only thing that did work was to add "exit;" after all
>header("Location:...") functions. I checked the online PHP manual, and
>there's no mention that this is necessary, so, I am totally baffled as
>to why this suddenly started happening.

The header("Location:...") function does not terminate your script.
So any processing after the header() will continue. Usually that's
not what you want -- you usually want to exit() at that point.

What does you script do after the header is sent? Chances are, it's
still doing something.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация