|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-21 04:44 UTC] cynic@php.net
[2001-02-22 05:20 UTC] stas@php.net
[2003-04-10 13:11 UTC] dam2000 at katamail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 05:00:01 2025 UTC |
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; ?>