|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10522 system and exec doesn't return output
Submitted: 2001-04-27 03:59 UTC Modified: 2001-05-24 15:31 UTC
From: ommadawn at club-internet dot fr Assigned:
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 4.0.2 OS: win32
Private report: No CVE-ID: None
 [2001-04-27 03:59 UTC] ommadawn at club-internet dot fr
$r = exec("D:\blah\CGI-Bin\gen_mi.exe ".trim($cmd), $result);

print $result[0];

It works fine with php3 but not with php4.0 .. 4.2 (win32)
it returns nothing.

Same problem with system command


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-27 04:15 UTC]
Can you try php 4.0.5 when it comes out on Tuesday? There where a lot of windows related fixes since 4.0.2
 [2001-04-28 16:04 UTC]
This should be fixed in CVS. Please reopen if it isn't fixed in PHHP 4.0.5 when it's released.

 [2001-05-24 03:01 UTC] ommadawn at club-internet dot fr
Doesn't seem to wotk on PHP 4.0.5 Win32
 [2001-05-24 15:31 UTC]
You will have to wait for PHP 4.0.6 which will fix this.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 11:01:29 2024 UTC