CGI error after header("location: some.php");
| From: | Peter Misun | Date: | Mon, 05 May 2003 09:14:28 +0000 |
| Subject: | CGI error after header("location: some.php"); | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-19763@lists.php.net to get a copy of this message | ||
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