Posted by Cujo on 12/31/07 16:59
Zach wrote:
> The code below should redirect the user to another page, but doesn't.
> What is wrong?
a) You can't send an HTTP header AFTER any content has been displayed
(unless you work around this by enabling output buffering).
b) Location: demands a full URL. Ie, it should begin with "http://".
regards, f.
Navigation:
[Reply to this message]
|