note 27738 added to function.shell-exec
| From: | dj-bj at gmx dot net | Date: | Tue, 17 Dec 2002 12:27:55 +0000 |
| Subject: | note 27738 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41010@lists.php.net to get a copy of this message | ||
Running PHP 4.2.3 on Windows 2000 Server shell_exec works fine and passes its output to the variable
when the result of the executed command is true.
However, if the command fails and the DOS-shell returns an error the result is no longer availiable
in the variable but is passed directly to the page.
--
http://www.php.net/manual/en/function.shell-exec.php
http://master.php.net/manage/user-notes.php?action=edit+27738
http://master.php.net/manage/user-notes.php?action=delete+27738
http://master.php.net/manage/user-notes.php?action=reject+27738