For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > November 2005 > cvs: phpdoc /en/reference/exec/functions escapeshellcmd.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/exec/functions escapeshellcmd.xml
Jakub Vrana

2005-11-09, 7:55 am

vrana Wed Nov 9 08:03:25 2005 EDT

Modified files:
/phpdoc/en/reference/exec/functions escapeshellcmd.xml
Log:
List of escaped characters

http://cvs.php.net/diff.php/phpdoc/...1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/exec/functions/escapeshellcmd.xml
diff -u phpdoc/en/reference/exec/functions/escapeshellcmd.xml:1.7 phpdoc/en/reference/exec/functions/escapeshellcmd.xml:1.8
--- phpdoc/en/reference/exec/functions/escapeshellcmd.xml:1.7 Fri Apr 8 19:18:40 2005
+++ phpdoc/en/reference/exec/functions/escapeshellcmd.xml Wed Nov 9 08:03:23 2005
@@ -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.escapeshellcmd">
<refnamediv>
@@ -23,6 +23,13 @@
linkend="language.operators.execution">backtick
operator</link>.
</para>
+ <para>
+ Following characters are preceded by a backslash:
+ <literal>#&;`|*?~&lt;&gt;^()[]{}$\</literal>, <literal>\x0A</literal>
+ and <literal>\xFF</literal>. <literal>'</literal> and <literal>"</literal>
+ are escaped only if they are not paired. In Windows, all these characters
+ plus <literal>%</literal> are replaced by a space instead.
+ </para>
</refsect1>

<refsect1 role="parameters">
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com