Why am I getting a CGI error?
| From: | Jeff Howard | Date: | Fri, 10 Aug 2001 18:21:09 +0000 |
| Subject: | Why am I getting a CGI error? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8768@lists.php.net to get a copy of this message | ||
I have used PHP before with an ISAPI filter and got burned. It seems that
if you stop the page in the middle of a process, you must restart IIS.
Now, I am trying to use it as a CGI module. I have no trouble using PERL
and CGI, but for some reason, I am getting this error message when I use
PHP:
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
I have not missed any of the syntax. As a matter of fact, here is the exact
code:
<?
header("Location: http://localhost/calculate_form.html");
exit;
?>