#30650 [Fbk->NoF]: windows based clients do not receive full output from shell_exec
| From: | php-bugs at lists dot php dot net | Date: | Mon, 21 Feb 2005 00:00:06 +0000 |
| Subject: | #30650 [Fbk->NoF]: windows based clients do not receive full output from shell_exec | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-77165@lists.php.net to get a copy of this message | ||
ID: 30650
Updated by: php-bugs@lists.php.net
Reported By: eslick dot 1 at osu dot edu
-Status: Feedback
+Status: No Feedback
Bug Type: Program Execution
Operating System: win32 only
PHP Version: 4.3.9
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2005-02-03 04:45:54] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-11-01 14:02:01] eslick dot 1 at osu dot edu
Description:
------------
Running php4.3.9 on IIS 6 Win2k3. Same issue reproducable on Linux
Apache set. Any *nix based client is able to correctly run a
shell_exec script and receive full output. Any windows based client,
regardless of browser, fails with only a partial set of the data
returned.
Reproduce code:
---------------
$t_cmd = "netsh dhcp server 10.1.1.1 dump";
$output = shell_exec($t_cmd) or die ("could not get dhcp");
$output = explode("\n",$output);
print_r($output);
Expected result:
----------------
Array of entire dhcp dump. Does work from *nix based clients.
Actual result:
--------------
Only first 3-4 parts of array are returned on Windows based clients
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30650&edit=1