cvs: phpdoc-hu /reference/filesystem/functions copy.xml delete.xml rename.xml touch.xml unlink.xml

From: Date: Mon, 29 Jan 2007 14:06:28 +0000
Subject: cvs: phpdoc-hu /reference/filesystem/functions copy.xml delete.xml rename.xml touch.xml unlink.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-1513@lists.php.net to get a copy of this message
chappy Mon Jan 29 14:06:28 2007 UTC Added files: /phpdoc-hu/reference/filesystem/functions copy.xml delete.xml touch.xml rename.xml unlink.xml Log: sync

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/copy.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/copy.xml +++ phpdoc-hu/reference/filesystem/functions/copy.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.13 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.copy"> <refnamediv> <refname>copy</refname> <refpurpose>Másol egy fájlt</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>bool</type><methodname>copy</methodname> <methodparam><type>string</type><parameter>source</parameter></methodparam> <methodparam><type>string</type><parameter>dest</parameter></methodparam> </methodsynopsis> <para> A <parameter>source</parameter> paraméterben megadott fájlt a <parameter>dest</parameter> paraméterben megadott helyre másolja. &return.success; <example> <title><function>copy</function> példa</title> <programlisting role="php"> <![CDATA[ <?php $file = 'example.txt'; $newfile = 'example.txt.bak'; if (!copy($file, $newfile)) { echo "failed to copy $file...\n"; } ?> ]]> </programlisting> </example> </para> <para> Fájlok áthelyezéséhez használd a <function>rename</function> függvényt. </para> <note> <para> A PHP 4.3.0 óta, a <parameter>source</parameter> és a <parameter>dest</parameter> paraméter is lehet URL, ha az "fopen wrappers engedélyezve van. Lásd az <function>fopen</function> függvényt a részletekért. Ha a <parameter>dest</parameter> paraméter URL, a másolási folyamat megszakadhat, ha a burkoló nem támogatja létezõ fájlok felülírását. </para> </note> <warning> <para> Ha a célfájl létezik, akkor azt a PHP felülírja. </para> </warning> <note> <para> Windows kompatibilitás: Ha egy méret nélküli fájlt másolsz, a <function>copy</function> függvény &false;-szal tér vissza, azonban a fájlt helyesen másolja. </para> </note> <para> Lásd még: <function>move_uploaded_file</function>, <function>rename</function>, és a <link linkend="features.file-upload"> fájlfeltöltések kezelése</link> részt a kézikönyvben. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/delete.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/delete.xml +++ phpdoc-hu/reference/filesystem/functions/delete.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.4 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.delete"> <refnamediv> <refname>delete</refname> <refpurpose>Lásd az <function>unlink</function> és <function>unset</function> függvényeket</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>void</type><methodname>delete</methodname> <methodparam><type>string</type><parameter>file</parameter></methodparam> </methodsynopsis> <para> Ez egy látszólagos bejegyzés, hogy eligazítsa azokat az embereket, akik az <function>unlink</function> vagy <function>unset</function> függvényeket keresik rossz helyen. </para> <para> Lásd még az <function>unlink</function> függvényt fájlok törléséhez, és az <function>unset</function> függvényt változók törléséhez. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/touch.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/touch.xml +++ phpdoc-hu/reference/filesystem/functions/touch.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.11 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.touch"> <refnamediv> <refname>touch</refname> <refpurpose>Beállítja az utolsó módosítási és hozzáférési dátumát a fájlnak</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>bool</type><methodname>touch</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>time</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>atime</parameter></methodparam> </methodsynopsis> <para> Megpróbálja beállítani az utolsó hozzáférési és módosítási dátumát a <parameter>filename</parameter> paraméterben fájlnak a <parameter>time</parameter> paraméterben megadott értékre. Ha <parameter>time</parameter> nincs megadbva, a jelenlegi rendszeridõt használja. Ha a harmadik paraméter meg van adva, az utolsó hozzáférési idõ értéke az <parameter>atime</parameter> paraméterben megadott lesz. Az utolsó hozzáférési idõ mindig módosul a paraméterek számától függetlenül. </para> <para> Ha a fájl nem létezik, a függvény létrehozza. &return.success; </para> <warning> <para> Jelenleg nem lehetséges a könyvtárak utolsó módosítási idejének a megváltoztatása ezzel a függvénnyel Windows alatt. </para> </warning> <para> <example> <title><function>touch</function> példa</title> <programlisting role="php"> <![CDATA[ <?php if (touch($FileName)) { echo "$FileName modification time has been changed to present time"; } else { echo "Sorry, could not change modification time of $FileName"; } ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/rename.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/rename.xml +++ phpdoc-hu/reference/filesystem/functions/rename.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.11 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.rename"> <refnamediv> <refname>rename</refname> <refpurpose>Átnevez egy fájlt vagy könyvtárat</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>bool</type><methodname>rename</methodname> <methodparam><type>string</type><parameter>oldname</parameter></methodparam> <methodparam><type>string</type><parameter>newname</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> </methodsynopsis> <para> Megpróbálja az <parameter>oldname</parameter> paraméterben megadott fájlt a <parameter>newname</parameter> paraméterben megadottra átnevezni. </para> <para> &return.success; </para> <para> <example> <title>Példa <function>rename</function> függvénnyel</title> <programlisting role="php"> <![CDATA[ <?php rename("/tmp/tmp_file.txt", "/home/user/login/docs/my_file.txt"); ?> ]]> </programlisting> </example> </para> <note> <para> A PHP 4.3.3-ig, a <function>rename</function> függvény nem tudott áthelyezni fájlokat partíciók között *nix alapú rendszereken. </para> </note> <note> <simpara> A PHP 5.0.0-tól az <function>unlink</function> függvény használható <emphasis>néhány</emphasis> URL burkolóval. Lásd az <xref linkend="wrappers"/>-ben az <function>rename</function> függvényt támogató burkolókat. </simpara> </note> <note> <simpara> Az <parameter>oldname</parameter> paraméterben használt burkolónak egyeznie <emphasis>KELL</emphasis> a <parameter>newname</parameter> paraméterben használttal. </simpara> </note> &note.context-support; <para> Lásd még: <function>copy</function>, <function>unlink</function>, és <function>move_uploaded_file</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/unlink.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/unlink.xml +++ phpdoc-hu/reference/filesystem/functions/unlink.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.9 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.unlink"> <refnamediv> <refname>unlink</refname> <refpurpose>Töröl egy fájlt</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>bool</type><methodname>unlink</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> </methodsynopsis> <para> Törli a <parameter>filename</parameter> paraméterben megadott fájlt. Hasonló a Unix C unlink() függvényhez. &return.success; </para> <note> <simpara> A PHP 5.0.0-tól az <function>unlink</function> függvény használható <emphasis>néhány</emphasis> URL burkolóval. Lásd az <xref linkend="wrappers"/>-ben az <function>unlink</function> függvényt támogató burkolókat. </simpara> </note> &note.context-support; <para> Lásd még az <function>rmdir</function> függvényt könyvtárak törléséhez. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.hu (#1513) next »