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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php