cvs: phpdoc-hu /reference/filesystem/functions realpath.xml

From: Date: Sat, 03 Feb 2007 20:43:27 +0000
Subject: cvs: phpdoc-hu /reference/filesystem/functions realpath.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-1545@lists.php.net to get a copy of this message
chappy Sat Feb 3 20:43:27 2007 UTC Added files: /phpdoc-hu/reference/filesystem/functions realpath.xml Log: sync http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/realpath.xml?view=markup&rev=1.1 Index: phpdoc-hu/reference/filesystem/functions/realpath.xml +++ phpdoc-hu/reference/filesystem/functions/realpath.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.23 --> <refentry id="function.realpath"> <refnamediv> <refname>realpath</refname> <refpurpose>Returns canonicalized absolute pathname</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> <type>string</type><methodname>realpath</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> <para> A <function>realpath</function> függvény megnyitja az összes jelképes linket, és elemzi a hivatkozásokat a '/./', '/../' helyekhez és az extra '/' karaktereket a bemeneti <parameter>path</parameter> paraméterben, és visszaadja a hiteles abszolút útvonalnevet. A visszatérési érték nem tartalmaz jelképes linket, '/./' vagy '/../' összetevõket. </para> <para> A <function>realpath</function> függvény &false;-szal tér vissza sikertelenség esetén, pl. ha a fájl nem létezik. BSD rendszereken a <function>realpath</function> függvény tovább fut, ha az utolsó <parameter>path</parameter> összetevõ nem létezik, amíg más rendszerek e esetben is &false;-t adnak vissza. </para> <para> <example> <title><function>realpath</function> példa</title> <programlisting role="php"> <![CDATA[ <?php chdir('/var/www/'); echo realpath('./../../etc/passwd'); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ /etc/passwd ]]> </screen> </example> </para> <para> Lásd még: <function>basename</function>, <function>dirname</function> és <function>pathinfo</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 -->

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