Re: CGI error after header("location: some.php");
| From: | Guru P Chaturvedi | Date: | Mon, 05 May 2003 19:53:50 +0000 |
| Subject: | Re: CGI error after header("location: some.php"); | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19772@lists.php.net to get a copy of this message | ||
Hi,
I faced the same problem and got rid of it completely by making changes to
the IIS as given in installation manual. An i am damn sure the problem lies
there...
"Peter Misun" <misun@microstep-mis.sk> wrote in message
news:3EB62B74.97965CE6@microstep-mis.sk...
>
> Hi,
>
> I'm running PHP 4.1.2 on W2k Server.
> I have one big problem:
>
> in some script (first.php) a have a html form ("<form ...>"), from where
second.php is called
> in second.php a have some commands doing something with database through
odbc_exec() function and after that calling with
header("location:third.php") the next script third.php
>
> problem is, that in many cases i've got CGI Error message instead of
output from third.php
> but after reloading/refreshing page manually by user, it shows the
third.php without any problems
>
> error message is:
> CGI Error
> The specified CGI application misbehaved by not returning a complete set
of
> HTTP headers. The headers it did return are:
>
> what's wrong? any ideas?
>
> thanks a lot
>
> 5o
>
>