cvs: phpdoc-hu /reference/exec/functions escapeshellcmd.xml

From: Date: Wed, 04 Aug 2004 13:32:01 +0000
Subject: cvs: phpdoc-hu /reference/exec/functions escapeshellcmd.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-840@lists.php.net to get a copy of this message
cece Wed Aug 4 09:32:01 2004 EDT Modified files: /phpdoc-hu/reference/exec/functions escapeshellcmd.xml Log: sync http://cvs.php.net/diff.php/phpdoc-hu/reference/exec/functions/escapeshellcmd.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-hu/reference/exec/functions/escapeshellcmd.xml diff -u phpdoc-hu/reference/exec/functions/escapeshellcmd.xml:1.2 phpdoc-hu/reference/exec/functions/escapeshellcmd.xml:1.3 --- phpdoc-hu/reference/exec/functions/escapeshellcmd.xml:1.2 Wed Apr 17 02:57:57 2002 +++ phpdoc-hu/reference/exec/functions/escapeshellcmd.xml Wed Aug 4 09:32:01 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- splitted from ./hu/functions/exec.xml, last change in rev 1.4 --> <!-- last change to 'escapeshellcmd' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: goba Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: goba Status: ready --> <!-- OLD-Revision: 1.27/EN.1.2 --> <refentry id="function.escapeshellcmd"> <refnamediv> @@ -26,10 +26,14 @@ <informalexample> <programlisting role="php"> <![CDATA[ +<?php +// itt mindegy, hogy az $e tartalmaz-e szóközt $e = escapeshellcmd($parancs); -system("echo $e"); // itt mindegy, hogy az $e tartalmaz-e szóközt +system("echo $e"); $f = escapeshellcmd($filenev); -system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // itt viszont nem, ezért van idézõjelben +// itt viszont nem, ezért van idézõjelben +system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); +?> ]]> </programlisting> </informalexample>

« previous php.doc.hu (#840) next »