cvs: phpdoc-hu /reference/exec/functions shell-exec.xml
| From: | Cece) Szabolcs | Date: | Thu, 29 Jul 2004 15:16:36 +0000 |
| Subject: | cvs: phpdoc-hu /reference/exec/functions shell-exec.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-705@lists.php.net to get a copy of this message | ||
cece Thu Jul 29 11:16:36 2004 EDT
Modified files:
/phpdoc-hu/reference/exec/functions shell-exec.xml
Log:
'sync'
http://cvs.php.net/diff.php/phpdoc-hu/reference/exec/functions/shell-exec.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-hu/reference/exec/functions/shell-exec.xml
diff -u phpdoc-hu/reference/exec/functions/shell-exec.xml:1.3
phpdoc-hu/reference/exec/functions/shell-exec.xml:1.4
--- phpdoc-hu/reference/exec/functions/shell-exec.xml:1.3 Sun May 9 08:25:51 2004
+++ phpdoc-hu/reference/exec/functions/shell-exec.xml Thu Jul 29 11:16:35 2004
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- splitted from ./hu/functions/exec.xml, last change in rev 1.4 -->
<!-- last change to 'shell-exec' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.4 Maintainer: goba Status: ready -->
+<!-- EN-Revision: 1.5 Maintainer: goba Status: ready -->
<!-- OLD-Revision: 1.27/EN.1.2 -->
<refentry id='function.shell-exec'>
<refnamediv>
<refname>shell_exec</refname>
<refpurpose>
- lefuttat parancsértelmezõben egy parancsot és a teljes kimenetet visszaadja
+ Lefuttat parancsértelmezõben egy parancsot és a teljes kimenetet visszaadja
</refpurpose>
</refnamediv>
<refsect1>
@@ -20,7 +20,27 @@
Ez a függvény azonos a <link
linkend="language.operators.execution">végrehajtó operátorral</link>.
</para>
+ <para>
+ <example>
+ <title>Egy <function>shell_exec</function> példa</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$output = shell_exec('ls -lart');
+echo "<pre>$output</pre>";
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+
¬e.sm.disabled;
+
+ <para>
+ Lásd még:
+ <function>exec</function> és
+ <function>escapeshellcmd</function>!
+ </para>
</refsect1>
</refentry>