jeroen Sat May 19 13:39:20 2001 EDT
Modified files:
/phpdoc/en/functions exec.xml
Log:
- corrected case for functions so
references work.
Index: phpdoc/en/functions/exec.xml
diff -u phpdoc/en/functions/exec.xml:1.10 phpdoc/en/functions/exec.xml:1.11
--- phpdoc/en/functions/exec.xml:1.10 Tue Sep 5 10:35:42 2000
+++ phpdoc/en/functions/exec.xml Sat May 19 13:39:20 2001
@@ -16,7 +16,7 @@
</funcprototype>
</funcsynopsis>
<para>
- <function>EscapeShellArg</function> adds single quotes around a string
+ <function>escapeshellarg</function> adds single quotes around a string
and quotes/escapes any existing single quotes allowing you to pass a
string directly to a shell function and having it be treated as a single
safe argument. This function should be used to escape individual
@@ -54,7 +54,7 @@
</funcprototype>
</funcsynopsis>
<para>
- <function>EscapeShellCmd</function> escapes any characters in a
+ <function>escapeshellcmd</function> escapes any characters in a
string that might be used to trick a shell command into executing
arbitrary commands. This function should be used to make sure
that any data coming from user input is escaped before this data
@@ -127,7 +127,7 @@
<para>
Note that if you are going to allow data coming from user input
to be passed to this function, then you should be using
- <function>EscapeShellCmd</function> to make sure that users
+ <function>escapeshellcmd</function> to make sure that users
cannot trick the system into executing arbitrary commands.
</para>
<para>
@@ -139,8 +139,8 @@
</para>
<para>
See also <function>system</function>,
- <function>PassThru</function>, <function>popen</function>,
- <function>EscapeShellCmd</function>, and the <link
+ <function>passthru</function>, <function>popen</function>,
+ <function>escapeshellcmd</function>, and the <link
linkend="language.operators.execution">backtick operator</link>.
</para>
</refsect1>
@@ -166,12 +166,12 @@
</funcsynopsis>
<para>
The <function>passthru</function> function is similar to the
- <function>Exec</function> function in that it executes a
+ <function>exec</function> function in that it executes a
<parameter>command</parameter>. If the
<parameter>return_var</parameter> argument is present, the return
status of the Unix command will be placed here. This function
- should be used in place of <function>Exec</function> or
- <function>System</function> when the output from the Unix command
+ should be used in place of <function>exec</function> or
+ <function>system</function> when the output from the Unix command
is binary data which needs to be passed directly back to the
browser. A common use for this is to execute something like the
pbmplus utilities that can output an image stream directly. By
@@ -187,7 +187,7 @@
</para>
<para>
See also <function>exec</function>, <function>system</function>,
- <function>popen</function>, <function>EscapeShellCmd</function>,
+ <function>popen</function>, <function>escapeshellcmd</function>,
and the <link linkend="language.operators.execution">backtick
operator</link>.
</para>
@@ -211,7 +211,7 @@
</funcprototype>
</funcsynopsis>
<para>
- <function>System</function> is just like the C version of the
+ <function>system</function> is just like the C version of the
function in that it executes the given
<parameter>command</parameter> and outputs the result. If a
variable is provided as the second argument, then the return
@@ -221,7 +221,7 @@
<para>
Note, that if you are going to allow data coming from user input
to be passed to this function, then you should be using the
- <function>EscapeShellCmd</function> function to make sure that
+ <function>escapeshellcmd</function> function to make sure that
users cannot trick the system into executing arbitrary
commands.
</para>
@@ -233,7 +233,7 @@
program ends.
</para>
<para>
- The <function>System</function> call also tries to automatically
+ The <function>system</function> call also tries to automatically
flush the web server's output buffer after each line of output if
PHP is running as a server module.
</para>
@@ -244,12 +244,12 @@
<para>
If you need to execute a command and have all the data from the
command passed directly back without any interference, use the
- <function>PassThru</function> function.
+ <function>passthru</function> function.
</para>
<para>
See also <function>exec</function>,
- <function>PassThru</function>, <function>popen</function>,
- <function>EscapeShellCmd</function>, and the <link
+ <function>passthru</function>, <function>popen</function>,
+ <function>escapeshellcmd</function>, and the <link
linkend="language.operators.execution">backtick operator</link>.
</para>
</refsect1>