On Thursday 16 May 2002 03:31, 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");
> }
> ...
> ?>
Did you try it outside of the IF statement? IOW is your IF statement TRUE?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Practice is the best of all instructors.
-- Publilius
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php