RE: [PHP-WIN] Re: The specified CGI application misbehaved by not returning acomplete set of HTTP headers.
| From: | HKG) | Date: | Mon, 22 Mar 2004 16:25:34 +0000 |
| Subject: | RE: [PHP-WIN] Re: The specified CGI application misbehaved by not returning acomplete set of HTTP headers. | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23222@lists.php.net to get a copy of this message | ||
Sounds like a resonable explanation. I'll will test your suggestion.
-----Original Message-----
From: DvDmanDT
To: php-windows@lists.php.net
Sent: 22-3-2004 12:44
Subject: [PHP-WIN] Re: The specified CGI application misbehaved by not
returning acomplete set of HTTP headers.
I would suspect popen() happends to output STDERR, and that dir returns
some STDERR when no files are found, or when the argument is invalid.. And
if so, the STDERR message would get output directly to the webserver, and if
it contains two newlines (which it does really I think), the webserver
wouldn't get a complete set of headers (which it's complaining about)...