Re: Header problem
| From: | Paul Burney | Date: | Mon, 15 Jul 2002 13:36:35 +0000 |
| Subject: | Re: Header problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20550@lists.php.net to get a copy of this message | ||
on 7/15/02 5:09 AM, Dave Carrera at dave@davecarrera.com appended the
following bits to my mbox:
> I have in my script a call to header location.
>
> header( "Location: ./file.php");
>
> Works on my system but not on theirs
Not really database related so it should be on php-general.
FWIW, I believe that the location needs to include the scheme and FQDN,
i.e., http://example.com/file.php
Some browsers (notably Lynx) complain or don't work with relative Location
headers. It's also possible that the "." is causing a problem.
Sincerely,
Paul Burney
<http://paulburney.com/>
<?php
while ($self != "asleep") {
$sheep_count++;
}
?>