Re: header failing...

From: Date: Wed, 15 May 2002 19:36:03 +0000
Subject: Re: header failing...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97794@lists.php.net to get a copy of this message
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 */

« previous php.general (#97794) next »