Re: header() not working.
| From: | Jay Paulson | Date: | Tue, 21 Aug 2001 19:43:42 +0000 |
| Subject: | Re: header() not working. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63757@lists.php.net to get a copy of this message | ||
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]" <scott@graphictype.com>
To: "php" <php-general@lists.php.net>
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:jpaulson@lbjs.com]
> > Sent: Tuesday, August 21, 2001 3:10 PM
> > To: php-general@lists.php.net
> > 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>