Re: header() not working.
| From: | Gijsbert te Riet | Date: | Tue, 21 Aug 2001 19:37:14 +0000 |
| Subject: | Re: header() not working. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63755@lists.php.net to get a copy of this message | ||
Hi Jay,
> anyone know why the header() wouldn't work? I don't have anything
> being printed out before or after I call the header(). The only thing
> that does happen is when it tries to redirect the user it sends them
> to a 404 page error. Also, when I check the web server log it says
> it's trying to call ".php" (note no file name in front of the '.php').
> I'm not sure what's going on but any suggestions?
>
If you call the function Header, like:
Header($name.".php");
Then there's an possibility that $name (your variable name) isn't set.
Could you supply the part of your code where you call Header? That
should make the problem better traceable.
Regards,
Gijs.