Re: header failing...
| From: | Miguel Cruz | Date: | Wed, 15 May 2002 19:35:13 +0000 |
| Subject: | Re: header failing... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97793@lists.php.net to get a copy of this message | ||
On Wed, 15 May 2002, Joshua E Minnie wrote:
> Can anybody tell me why a call to header would fail. What I mean by this is
> that it doesn't redirect at all. Here is a snippet of the code that I am
> using:
>
> <?
> ...
> if(session_is_registered("user")) {
> header("Location:
> http://www.somwhere.net/admin.php");
> }
> ...
> ?>
Lynx is a fine tool for web debuggery. Use it to see whether the header is
actually being sent (navigate through the site and then hit ] to fetch the
header).
miguel