There's my code below:

header("Location:loggedon.php?SID=$SID");
exit;

I know the file is there cause I look right at it when I do an ls command.
I also know that the $SID variable is set cause I've echoed that out before
the header().  The header() seems not to work on files that are in the same
directory that the header() calls.  However, when I put say yahoo.com in the
header() it works fine, it just doesn't seem to work when I call local
files.

Thanks,
Jay

----- Original Message -----
From: "scott [gts]" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Tuesday, August 21, 2001 2:27 PM
Subject: RE: [PHP] header() not working.


> header() works.
>
> it's the text that header() is printing
> that's causing problems.
>
> what are you outputting via header() ?
>
> > -----Original Message-----
> > From: Jay Paulson [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 21, 2001 3:10 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] header() not working.
> >
> >
> > 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?
> >
> > Thanks,
> > Jay
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to