note 46277 added to function.exec
| From: | den at osu1 dot php dot net | Date: | Tue, 05 Oct 2004 14:33:44 +0000 |
| Subject: | note 46277 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78025@lists.php.net to get a copy of this message | ||
hi all,
i am trying to use exec in php.
It works fine with all the command , even for compiled c progran and shell script as well
but there is one program with to 2 argument ... it return the return value of 127...
i can't find any error related to 127 and can't understand why its not working....even it
works when i run on command line by #php test.php
it give the result...
den
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46277
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46277&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46277&report=yes
Search -- http://master.php.net/manage/user-notes.php