Re: Echoed Status and Content-type Problem

From: Date: Fri, 09 Mar 2001 14:28:43 +0000
Subject: Re: Echoed Status and Content-type Problem
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-5907@lists.php.net to get a copy of this message
> This should not be there. There is a header() call in the redir.php3 script > as follows: > > <snip> > header("Status: 200 OK"); > </snip> > > Why is this echoing on the browser screen? Also, the Content-type: > text/html is nowhere in the scripts and still being echoed. Because script redir.php3 must not have header command... Same header is generated by web server. Thus browser really receives such header twice - first used to control page contents and second one become page contents. If you will check page contents you will find this header before <html> tag... Vladimir

« previous php.windows (#5907) next »