- corrected case for functions so

references work.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47886 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeroen van Wolffelaar 2001-05-19 20:39:20 +00:00
parent 8ceb0c165b
commit b46f2d8e82

View file

@ -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 @@ system("ls ".EscapeShellArg($dir))
</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 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
<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 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
</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 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
</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 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
</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 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
</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 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
<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 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
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 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
<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>