note 20078 added to function.popen
| From: | jean-pierre dot tosoni at php2 dot chek dot com | Date: | Thu, 21 Mar 2002 17:06:24 +0000 |
| Subject: | note 20078 added to function.popen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28042@lists.php.net to get a copy of this message | ||
somewhere above, stevet@linuxfan.com wrote:
> In PHP3, I could do:
> $query = "echo hello world | mycmd"
This does not work with PHP4 because when safe_mode is in effect, all special shell chars are
escaped in the string. This should not occur when safe_mode is not turned on.
--
http://www.php.net/manual/en/function.popen.php
http://master.php.net/manage/user-notes.php?action=edit+20078
http://master.php.net/manage/user-notes.php?action=delete+20078
http://master.php.net/manage/user-notes.php?action=reject+20078