Re: undesired header in all my php pages

From: Date: Sun, 28 Jan 2001 10:44:03 +0000
Subject: Re: undesired header in all my php pages
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-5248@lists.php.net to get a copy of this message
At 04:11 28/1/2001, Alkis Doulgeris wrote:
Dear sirs,
     About a month ago, I downloaded and installed the php binaries, on My
Apache 1.3.14 server under windows 2000.
     I work with Dreamweaver 4, And untill last 2 days, I was able to test
and run my scripts without any problem. Not that there is a problem now, the scripts are still working perfect, but tha last 2 days, when I test the page on the Apache, before every content to be shown, a text message appears at the top of the borwser's page (and is before even the <html> tag) which says: "X-Powered-By: PHP/4.0.0 Content-type: text/html" why is this happening? Is it somehow a shareware release? And when it expires, it shows this message at the very top of every php page? And if it is a shareware release, how can I purchase? I hope it is not a shareware, cause it is under the public license as you say so. I have to tell you that I test the scripts locally (the known "localhost") PLease tell me what I should do, to stop this message from apearing to every php page.
Apparently, parts of the HTTP header are somehow being sent as a part of the document body. The text you specified is indeed sent on every request, but it's supposed to be a part of the HTTP header, and shouldn't be seen on the browser. Are you using a CGI? If you do, try to run the script from the command line, using php.exe, and see if any errors are emitted. It's possible that due to a start-up error, the HTTP header is being clobbered, and this text makes it into the browser. Zeev

« previous php.windows (#5248) next »