#25039 [Opn->Fbk]: system function cause header error / IIS6.0

From: Date: Mon, 11 Aug 2003 13:59:15 +0000
Subject: #25039 [Opn->Fbk]: system function cause header error / IIS6.0
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45723@lists.php.net to get a copy of this message
ID: 25039 Updated by: iliaa@php.net Reported By: sadun at isikun dot org -Status: Open +Status: Feedback Bug Type: IIS related Operating System: Windows Server 2003 PHP Version: 4.3.3RC3 New Comment: Are you using php as CGI or ISAPI? Previous Comments: ------------------------------------------------------------------------ [2003-08-11 07:49:12] sadun at isikun dot org Description: ------------ on iis6.0 when i call NET.exe with system or exec function get faced with an error and if it's some comlex command it gives "CGI returned bad header" error. Reproduce code: --------------- <pre> <? echo exec("NET"); ?> Expected result: ---------------- NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP | HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION | SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ] Actual result: -------------- NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP | HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION | SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ] Content-type: text/html X-Powered-By: PHP/4.3.3RC2 Set-Cookie: PHPSESSID=ebfd9b5ea0d4316aa9a32b3e1dec41b5; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache <pre> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25039&edit=1

« previous php.bugs (#45723) next »