Date: 01/16/01
- Next message: Rujira Achawanantakun: "[PHP-DEV] Some question about upload multiple file"
- Previous message: kara <email protected>: "[PHP-DEV] PHP 4.0 Bug #8726 Updated: ODBC Connections closing between function calls"
- Next in thread: Edin Kadribasic: "Re: [PHP-DEV] PHP 4.0 Bug #8732: execution function return always -1"
- Reply: Edin Kadribasic: "Re: [PHP-DEV] PHP 4.0 Bug #8732: execution function return always -1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: f.labanvoye <email protected>
Operating system: linux 2.2.16
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: execution function return always -1
I trie to get the result code of exec, system or passthru function but i always get -1 under linux. version of php: 4.0.3pl1 et 4.0.4pl1
<?
passthru("/bin/echo test",$r);
echo $r;
system("/bin/echo test", $r);
echo $r;
?>
I trie under winnt 4 sp6/apache 1.3.14 and it's works fine
<?
passthru("echo test", $r;
echo $r;
?>
-- Edit Bug report at: http://bugs.php.net/?id=8732&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Rujira Achawanantakun: "[PHP-DEV] Some question about upload multiple file"
- Previous message: kara <email protected>: "[PHP-DEV] PHP 4.0 Bug #8726 Updated: ODBC Connections closing between function calls"
- Next in thread: Edin Kadribasic: "Re: [PHP-DEV] PHP 4.0 Bug #8732: execution function return always -1"
- Reply: Edin Kadribasic: "Re: [PHP-DEV] PHP 4.0 Bug #8732: execution function return always -1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

