You are here: Re: Baffling! Redirects with header() takes minutes to respond. « PHP Programming Language « IT news, forums, messages
Re: Baffling! Redirects with header() takes minutes to respond.

Posted by Peter Fox on 11/16/05 12:02

Following on from Monty's message. . .
>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.
>
Just out of curiosity. What happens if you replace exit; with
print("after header"); ? (I can't say I've ever had this prob 'cos I
always used exit anyway.)



--
PETER FOX Not the same since the bookshop idea was shelved
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>

 

Navigation:

[Reply to this 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

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