cvs: phpdoc-hu /reference/filesystem/functions fgetc.xml filetype.xml ftell.xml ftruncate.xml lchgrp.xml readlink.xml
| From: | Lajos Cseppent� | Date: | Tue, 30 Jan 2007 15:35:40 +0000 |
| Subject: | cvs: phpdoc-hu /reference/filesystem/functions fgetc.xml filetype.xml ftell.xml ftruncate.xml lchgrp.xml readlink.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-1538@lists.php.net to get a copy of this message | ||
chappy Tue Jan 30 15:35:40 2007 UTC
Added files:
/phpdoc-hu/reference/filesystem/functions ftruncate.xml lchgrp.xml
ftell.xml fgetc.xml
readlink.xml filetype.xml
Log:
sync
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/ftruncate.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/ftruncate.xml +++ phpdoc-hu/reference/filesystem/functions/ftruncate.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.7 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.14 --> <refentry id="function.ftruncate"> <refnamediv> <refname>ftruncate</refname> <refpurpose>Levágja a fájl a megadott hosszig</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>bool</type><methodname>ftruncate</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> <methodparam><type>int</type><parameter>size</parameter></methodparam> </methodsynopsis> <para> A <parameter>handle</parameter> paraméterben megadott pointerrel a <parameter>size</parameter> paraméterben megadott hosszig levágja a fájlt. &return.success; </para> <note> <para> A fájlpointer helyzete csak hozzáfûzés (<emphasis>append</emphasis>) módban változik meg. Írás (<emphasis>write</emphasis>) módban további <function>fseek</function> függvényhívás szükséges. </para> </note> <note> <para> A PHP 4.3.3-at megelõzõen a <function>ftruncate</function> függvény <type>integer</type> típusú 1-gyel tér vissza siker esetén, <type>boolean</type> típusú &true; helyett. </para> </note> <para> Lásd még: <function>fopen</function> és <function>fseek</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/lchgrp.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/lchgrp.xml +++ phpdoc-hu/reference/filesystem/functions/lchgrp.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.1 Maintainer: chappy Status: ready --> <refentry id="function.lchgrp"> <refnamediv> <refname>lchgrp</refname> <refpurpose>Megváltoztatja a jelképes link csoportját</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>bool</type><methodname>lchgrp</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam><type>mixed</type><parameter>group</parameter></methodparam> </methodsynopsis> <para> Megpróbálja a <parameter>filename</parameter> paraméterben megadott jelképes link csoportját a <parameter>group</parameter> paraméterben megadottra változtatni (név vagy szám szerint megadva). Csak a superuser változtathatja önkényesen meg a jelképes link csoportját; a többi felhasználó csak azoknak a jelképes linkeknek változtathatja meg a csoportját, amelyek csoportjának a felhasználó tagja. </para> <para> &return.success; </para> ¬e.no-remote; ¬e.sm.uidcheck; <para> Lásd még: <function>chgrp</function>, <function>lchown</function> <function>chown</function>&listendand; <function>chmod</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/ftell.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/ftell.xml +++ phpdoc-hu/reference/filesystem/functions/ftell.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.7 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.ftell"> <refnamediv> <refname>ftell</refname> <refpurpose>Megadja a fájlpointer olvasó/író helyzetét</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>int</type><methodname>ftell</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> </methodsynopsis> <para> Visszaadja a <parameter>handle</parameter> paraméterben megadott fájlpointer pozícióját, azaz ennek az eltolódását a fájlban. </para> <para> Ha hiba lép fel, &false;-szal tér vissza. </para> <para> A fájlpointernek valódinak kell lennie, és <function>fopen</function> vagy <function>popen</function> függvénnyel sikeresen megnyitott fájlra kell mutatni. A <function>ftell</function> függvény meghatározatlan eredményeket ad csak hozzáfûzésre megnyitott fájlok esetében ("a" jelzõvel megnyitott). </para> <para> <example> <title><function>ftell</function> példa</title> <programlisting role="php"> <![CDATA[ <?php // fájl megnyitása, adatok olvasása $fp = fopen("/etc/passwd", "r"); $data = fgets($fp, 12); // hol is vagyunk? echo ftell($fp); // 11 fclose($fp); ?> ]]> </programlisting> </example> </para> <para> Lásd még: <function>fopen</function>, <function>popen</function>, <function>fseek</function> és <function>rewind</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/fgetc.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/fgetc.xml +++ phpdoc-hu/reference/filesystem/functions/fgetc.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.10 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fgetc"> <refnamediv> <refname>fgetc</refname> <refpurpose>Egy karaktert nyer ki a fájlpointertõl</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>string</type><methodname>fgetc</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> </methodsynopsis> <para> Egy karakterláncot ad vissza, ami egy karaktert tartalmaz, amit a <parameter>handle</parameter> paraméterben megadott pointertõl olvas ki. &false;-szal tér vissza, ha a pointer a fájl végén van. </para> &fs.validfp.all; &return.falseproblem; <para> <example> <title>Egy <function>fgetc</function> példa</title> <programlisting role="php"> <![CDATA[ <?php $fp = fopen('somefile.txt', 'r'); if (!$fp) { echo 'Could not open file somefile.txt'; } while (false !== ($char = fgetc($fp))) { echo "$char\n"; } ?> ]]> </programlisting> </example> </para> ¬e.bin-safe; <para> Lásd még: <function>fread</function>, <function>fopen</function>, <function>popen</function>, <function>fsockopen</function>, és <function>fgets</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/readlink.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/readlink.xml +++ phpdoc-hu/reference/filesystem/functions/readlink.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.6 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.readlink"> <refnamediv> <refname>readlink</refname> <refpurpose>Visszaadja egy jelképes link célpontját</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>string</type><methodname>readlink</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> <para> A <function>readlink</function> függvény azonos a C readlink függvénnyel, és a jelképes link elérési útjával tér vissza, vagy &false;-szal hiba esetén. </para> <para> <example> <title><function>readlink</function> példa</title> <programlisting role="php"> <![CDATA[ <?php // példa kimenetre: /boot/vmlinux-2.4.20-xfs echo readlink('/vmlinuz'); ?> ]]> </programlisting> </example> </para> ¬e.no-windows; <para> lásd még: <function>is_link</function>, <function>symlink</function> és <function>linkinfo</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/filetype.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/filetype.xml +++ phpdoc-hu/reference/filesystem/functions/filetype.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.10 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filetype"> <refnamediv> <refname>filetype</refname> <refpurpose>Kinyeri a fájl típusát</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>string</type><methodname>filetype</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> Visszaadja a fájl típusát. A lehetséges értékek: fifo, char (karakter), dir (könyvtár), block (blokk), link, file (fájl) és unknown (ismeretlen). </para> <para> Hiba esetén &false;-szal tér vissza. A <function>filetype</function> függvény emellett <constant>E_NOTICE</constant> típusú hibaüzenetet is eredményezhet, ha a statisztika hívás sikertelen vagy a fájltípus unknown (ismeretlen). </para> ¬e.clearstatcache; &tip.fopen-wrapper.stat; <para> <example> <title><function>filetype</function> példa</title> <programlisting role="php"> <![CDATA[ <?php echo filetype('/etc/passwd'); // file (fájl) echo filetype('/etc/'); // dir (könyvtár) ?> ]]> </programlisting> </example> </para> <simpara> Lásd még: <function>is_dir</function>, <function>is_file</function>, <function>is_link</function>, <function>file_exists</function>, <function>stat</function> és <function>mime_content_type</function>. </simpara> </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/ftruncate.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/ftruncate.xml +++ phpdoc-hu/reference/filesystem/functions/ftruncate.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.7 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.14 --> <refentry id="function.ftruncate"> <refnamediv> <refname>ftruncate</refname> <refpurpose>Levágja a fájl a megadott hosszig</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>bool</type><methodname>ftruncate</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> <methodparam><type>int</type><parameter>size</parameter></methodparam> </methodsynopsis> <para> A <parameter>handle</parameter> paraméterben megadott pointerrel a <parameter>size</parameter> paraméterben megadott hosszig levágja a fájlt. &return.success; </para> <note> <para> A fájlpointer helyzete csak hozzáfûzés (<emphasis>append</emphasis>) módban változik meg. Írás (<emphasis>write</emphasis>) módban további <function>fseek</function> függvényhívás szükséges. </para> </note> <note> <para> A PHP 4.3.3-at megelõzõen a <function>ftruncate</function> függvény <type>integer</type> típusú 1-gyel tér vissza siker esetén, <type>boolean</type> típusú &true; helyett. </para> </note> <para> Lásd még: <function>fopen</function> és <function>fseek</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/lchgrp.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/lchgrp.xml +++ phpdoc-hu/reference/filesystem/functions/lchgrp.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.1 Maintainer: chappy Status: ready --> <refentry id="function.lchgrp"> <refnamediv> <refname>lchgrp</refname> <refpurpose>Megváltoztatja a jelképes link csoportját</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>bool</type><methodname>lchgrp</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam><type>mixed</type><parameter>group</parameter></methodparam> </methodsynopsis> <para> Megpróbálja a <parameter>filename</parameter> paraméterben megadott jelképes link csoportját a <parameter>group</parameter> paraméterben megadottra változtatni (név vagy szám szerint megadva). Csak a superuser változtathatja önkényesen meg a jelképes link csoportját; a többi felhasználó csak azoknak a jelképes linkeknek változtathatja meg a csoportját, amelyek csoportjának a felhasználó tagja. </para> <para> &return.success; </para> ¬e.no-remote; ¬e.sm.uidcheck; <para> Lásd még: <function>chgrp</function>, <function>lchown</function> <function>chown</function>&listendand; <function>chmod</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/ftell.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/ftell.xml +++ phpdoc-hu/reference/filesystem/functions/ftell.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.7 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.ftell"> <refnamediv> <refname>ftell</refname> <refpurpose>Megadja a fájlpointer olvasó/író helyzetét</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>int</type><methodname>ftell</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> </methodsynopsis> <para> Visszaadja a <parameter>handle</parameter> paraméterben megadott fájlpointer pozícióját, azaz ennek az eltolódását a fájlban. </para> <para> Ha hiba lép fel, &false;-szal tér vissza. </para> <para> A fájlpointernek valódinak kell lennie, és <function>fopen</function> vagy <function>popen</function> függvénnyel sikeresen megnyitott fájlra kell mutatni. A <function>ftell</function> függvény meghatározatlan eredményeket ad csak hozzáfûzésre megnyitott fájlok esetében ("a" jelzõvel megnyitott). </para> <para> <example> <title><function>ftell</function> példa</title> <programlisting role="php"> <![CDATA[ <?php // fájl megnyitása, adatok olvasása $fp = fopen("/etc/passwd", "r"); $data = fgets($fp, 12); // hol is vagyunk? echo ftell($fp); // 11 fclose($fp); ?> ]]> </programlisting> </example> </para> <para> Lásd még: <function>fopen</function>, <function>popen</function>, <function>fseek</function> és <function>rewind</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/fgetc.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/fgetc.xml +++ phpdoc-hu/reference/filesystem/functions/fgetc.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.10 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fgetc"> <refnamediv> <refname>fgetc</refname> <refpurpose>Egy karaktert nyer ki a fájlpointertõl</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>string</type><methodname>fgetc</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> </methodsynopsis> <para> Egy karakterláncot ad vissza, ami egy karaktert tartalmaz, amit a <parameter>handle</parameter> paraméterben megadott pointertõl olvas ki. &false;-szal tér vissza, ha a pointer a fájl végén van. </para> &fs.validfp.all; &return.falseproblem; <para> <example> <title>Egy <function>fgetc</function> példa</title> <programlisting role="php"> <![CDATA[ <?php $fp = fopen('somefile.txt', 'r'); if (!$fp) { echo 'Could not open file somefile.txt'; } while (false !== ($char = fgetc($fp))) { echo "$char\n"; } ?> ]]> </programlisting> </example> </para> ¬e.bin-safe; <para> Lásd még: <function>fread</function>, <function>fopen</function>, <function>popen</function>, <function>fsockopen</function>, és <function>fgets</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/readlink.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/readlink.xml +++ phpdoc-hu/reference/filesystem/functions/readlink.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.6 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.readlink"> <refnamediv> <refname>readlink</refname> <refpurpose>Visszaadja egy jelképes link célpontját</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>string</type><methodname>readlink</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> <para> A <function>readlink</function> függvény azonos a C readlink függvénnyel, és a jelképes link elérési útjával tér vissza, vagy &false;-szal hiba esetén. </para> <para> <example> <title><function>readlink</function> példa</title> <programlisting role="php"> <![CDATA[ <?php // példa kimenetre: /boot/vmlinux-2.4.20-xfs echo readlink('/vmlinuz'); ?> ]]> </programlisting> </example> </para> ¬e.no-windows; <para> lásd még: <function>is_link</function>, <function>symlink</function> és <function>linkinfo</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/filetype.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/filetype.xml +++ phpdoc-hu/reference/filesystem/functions/filetype.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.10 Maintainer: chappy Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filetype"> <refnamediv> <refname>filetype</refname> <refpurpose>Kinyeri a fájl típusát</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>string</type><methodname>filetype</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> Visszaadja a fájl típusát. A lehetséges értékek: fifo, char (karakter), dir (könyvtár), block (blokk), link, file (fájl) és unknown (ismeretlen). </para> <para> Hiba esetén &false;-szal tér vissza. A <function>filetype</function> függvény emellett <constant>E_NOTICE</constant> típusú hibaüzenetet is eredményezhet, ha a statisztika hívás sikertelen vagy a fájltípus unknown (ismeretlen). </para> ¬e.clearstatcache; &tip.fopen-wrapper.stat; <para> <example> <title><function>filetype</function> példa</title> <programlisting role="php"> <![CDATA[ <?php echo filetype('/etc/passwd'); // file (fájl) echo filetype('/etc/'); // dir (könyvtár) ?> ]]> </programlisting> </example> </para> <simpara> Lásd még: <function>is_dir</function>, <function>is_file</function>, <function>is_link</function>, <function>file_exists</function>, <function>stat</function> és <function>mime_content_type</function>. </simpara> </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 -->