Re: CGI error: incomplete headers?

From: Date: Fri, 16 Feb 2001 20:40:50 +0000
Subject: Re: CGI error: incomplete headers?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-5607@lists.php.net to get a copy of this message
While I dont have a solution for this problem I can confirm that the problem is in the Header("Location:xxxx") command. Because of this obvious quirk with IIS and PHP4 we have had to resort to PHP3 for a major e-business site we were trying to upgrade to PHP4. I am not sure why this has not yet been corrected as it has been discussed and I think its also in the bugs database. We even tried using include files to get around the problme but tht proved too messy. If there is anyone out there who has a solution or willing to look into please do. This is a showstopper for users on the Windows platform and should be fixed asap Regards, Maurice ----- Original Message ----- From: "Chaz Yoon" <yoon@raybeam.com> To: <php-windows@lists.php.net> Sent: Thursday, February 15, 2001 8:01 PM Subject: [PHP-WIN] CGI error: incomplete headers? > I'm having a curious problem with PHP on IIS while setting up a message > board (Phorum) on IIS 5.0, SQL Server 2000, and PHP 4.0.4pl1 (latest). While > posting a message, post.php receives a POST, processes the passed data to > check for completeness, inserts a row into the database, and then redirects > the user via the header("Location .../list.php?f=1") function. However, > once the redirect occurs, I receive the following message: > > CGI Error > The specified CGI application misbehaved by not returning a complete set of > HTTP headers. The headers it did return are: > > Now, I know this has been in the archives, and I checked it out. The thing > that's different for me is that when I refresh the page, it works just fine. > Somehow, the GET is different from the POST. Does anybody have any thoughts > on how I can fix this? Thanks. > > Chaz > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.windows (#5607) next »