Re: cvs: phpdoc /en/reference/exec/functions exec.xml
| From: | Mehdi Achour | Date: | Wed, 28 Jan 2004 20:28:51 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/exec/functions exec.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358521@lists.php.net to get a copy of this message | ||
Ken Tossell wrote:
kennyt Wed Jan 28 15:09:16 2004 EDTAre you sure it's only for exec() ? what about system() & co ? ;) didouModified files: /phpdoc/en/reference/exec/functions exec.xml Log:Fix #27076: Add warning about safe_mode and argument quoting.
http://cvs.php.net/diff.php/phpdoc/en/reference/exec/functions/exec.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/exec/functions/exec.xml diff -u phpdoc/en/reference/exec/functions/exec.xml:1.7 phpdoc/en/reference/exec/functions/exec.xml:1.8 --- phpdoc/en/reference/exec/functions/exec.xml:1.7 Wed Dec 31 05:39:42 2003 +++ phpdoc/en/reference/exec/functions/exec.xml Wed Jan 28 15:09:15 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/exec.xml, last change in rev 1.2 --> <refentry id="function.exec"><refnamediv>@@ -65,6 +65,14 @@<literal>..</literal> components in the path to the executable. </simpara> </note> + <warning> + <simpara> + With <link linkend="features.safe-mode">safe mode</link> enabled, + all words following the initial command string are treated as a + single argument. Thus, <literal>echo y | echo x</literal> becomes + <literal>echo 'y | echo x'</literal>. + </simpara> + </warning> <para> See also <function>system</function>, <function>passthru</function>, <function>popen</function>,