goba Sat Aug 18 09:34:50 2001 EDT
Modified files:
/phpdoc/en/functions exec.xml
Log:
Lowercase all function names
Index: phpdoc/en/functions/exec.xml
diff -u phpdoc/en/functions/exec.xml:1.16 phpdoc/en/functions/exec.xml:1.17
--- phpdoc/en/functions/exec.xml:1.16 Thu Aug 2 13:36:55 2001
+++ phpdoc/en/functions/exec.xml Sat Aug 18 09:34:49 2001
@@ -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 @@
<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 @@
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 @@
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>