![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Baffling! Redirects with header() takes minutes to respond.
From: Andy Hassall <andy@andyh.co.uk>
Date: Wed Nov 16 2005 - 20:52:35 CET
On 15 Nov 2005 18:35:06 -0800, "Monty" <monty3@hotmail.com> wrote:
>The PHP version on my server is part of the standard Red Hat Linux ES
Ah. Fair enough.
>None of the things you mention as a possible cause for this are
I'm suggesting that some of your code that is running after the header() call
Adding exit immediately after header() prevents that code running.
For a trivial example:
<?php
This takes 10 seconds to actually redirect. So the code that runs after
So, what is running after the header call?
-- Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis toolReceived on Mon Nov 21 03:03:57 2005 |