Re: [PHP4BETA] Header() in PHP4
| From: | Michael Stearne | Date: | Thu, 26 Aug 1999 03:04:56 +0000 |
| Subject: | Re: [PHP4BETA] Header() in PHP4 | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3737@lists.php.net to get a copy of this message | ||
Peter Holt Hoffman wrote:
>
> was that in this case the browser was receiving some HTML and then receiving
> an HTTP redirect. As far as I know, that isn't standard. I was suggesting
> that an approach is to do what I am doing because then you can make whatever
> decisions you need to before starting to talk to the browser.
>
No, my issue is, that sometimes I can't control the output before the
header.
There is a specific example. I use NetObjects Fusion and (besides
manually) am not able to access the VERY top of a page, the closest I
can get to the top of the page is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 FINAL//EN">
<HTML>
<HEAD>
So, every generated page in Fusion has at least that code in it. I also
believe there are other examples but I don't know any off hand. And also
my original example was the comparison between the header() and
CFLOCATION tags.
I realize also I can auto_prepend files, but I am still looking at the
header function.
Thanks,
Michael