Re: HTTP headers and include()
| From: | Christian Reiniger | Date: | Thu, 23 Aug 2001 09:44:28 +0000 |
| Subject: | Re: HTTP headers and include() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64072@lists.php.net to get a copy of this message | ||
On Thursday 23 August 2001 02:36, Casteele/ShadowLord wrote:
> Andy <ajh@vmei.acad.bg> wrote in article
> > See if is there some kind of echo before header()s, or HTML sent to
> > browser.
>
> No, I've been extremely careful to avoid that. The following are the
> two test files I've been using to try to solve this.. (sans the
> if( headers_sent ) {
> $senthdrs = "Headers Sent";
> } else {
> $senthdrs = "Headers not sent";
> }
does it make a difference if you use the proper function call syntax
(i.e. ad the () brackets after headers_sent) ?
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
Install once, run forever. Linux.