mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Lowercase all function names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@55316 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7417a77bd8
commit
0841a9c4d8
1 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- $Revision: 1.16 $ -->
|
||||
<!-- $Revision: 1.17 $ -->
|
||||
<reference id="ref.exec">
|
||||
<title>Program Execution functions</title>
|
||||
<titleabbrev>Program Execution</titleabbrev>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<para>
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
system("ls ".EscapeShellArg($dir))
|
||||
system("ls ".escapeshellarg($dir));
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
|
@ -75,9 +75,9 @@ system("ls ".EscapeShellArg($dir))
|
|||
<para>
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
$e = EscapeShellCmd($userinput);
|
||||
$e = escapeshellcmd($userinput);
|
||||
system("echo $e"); // here we don't care if $e has spaces
|
||||
$f = EscapeShellCmd($filename);
|
||||
$f = escapeshellcmd($filename);
|
||||
system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quotes
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
|
@ -117,7 +117,7 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
|
|||
anything. It simply returns the last line from the result of the
|
||||
command. 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.
|
||||
use the <function>passthru</function> function.
|
||||
</para>
|
||||
<para>
|
||||
If the <parameter>array</parameter> argument is present, then the
|
||||
|
@ -185,7 +185,7 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo
|
|||
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
|
||||
setting the content-type to <emphasis>image/gif</emphasis> and
|
||||
setting the Content-type to <emphasis>image/gif</emphasis> and
|
||||
then calling a pbmplus program to output a gif, you can create
|
||||
PHP scripts that output images directly.</para>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue