Header() redirect
| From: | Martin.Andrew | Date: | Fri, 30 Nov 2001 10:50:31 +0000 |
| Subject: | Header() redirect | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10665@lists.php.net to get a copy of this message | ||
Is there another function that does the same job as Header()
I'm creating a forum, and when a user sends a message I call a function that
checks name, password etc, then updates the DB and then calls the Header
function to redirect the page.
This would be fine except I am also using session library files that have
the html headers already created, thus, while the redirects (it still
redirects) I get the standard
Warning: Cannot add header information - headers already sent by ....
message, I know where the problem is but can't solve it without changing
many function of the forum functionality.
I have tried using plain javascript and this does work but there is again a
split second delay that is very annoying.
Thanks.