Re: [PHP4BETA] php4 problem.

From: Date: Fri, 07 Apr 2000 15:01:23 +0000
Subject: Re: [PHP4BETA] php4 problem.
Groups: php.version4 
Request: Send a blank email to php-version4+get-13322@lists.php.net to get a copy of this message
Addressed to: "Jon Gretar Borgthorsson" <jgb@srstudios.is> php4beta@lists.php.net ** Reply to note from "Jon Gretar Borgthorsson" <jgb@srstudios.is> Fri, 7 Apr 2000 13:22:40 -0000 > > I just upgraded to php4 on apache running on Win2k Now in all my php > pages I have the line "Content-type: text/html" displayed on top. > > I know thet the problem must be very simple but I just can't find > where I made the error in installation.. > > Can anyone give me a help. > > Are you using virtual()? Is it the first thing sent to the browser? If so, echo( ' ' ); just before the first virtual call. There is a bug with virtual where if it is the first thing send in your document you see the headers on the displayed page. Also, if you are using include() and call a file with virtual() that is in a different directory, virtual() will change the current director to the one containing the file you pass it, and not change it back when done. I chased these problems for a couple days Rick Widmer www.developersdesk.com

« previous php.version4 (#13322) next »