header failing...
| From: | Joshua E Minnie | Date: | Wed, 15 May 2002 19:31:29 +0000 |
| Subject: | header failing... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-97789@lists.php.net to get a copy of this message | ||
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");
}
...
?>
I am using PHP 4.1.2 on Win NT 4.0
--
Joshua E Minnie/CIO
josh@acsurf.net
"Don't work for recognition, but always do work worthy of recognition."