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

[email protected] ("Lajos Cseppent?")
Newsgroups php.doc.hu
Message-ID <cvschappy1170164439@cvsserver>
chappy		Tue Jan 30 13:40:39 2007 UTC

  Added files:                 
    /phpdoc-hu/reference/filesystem/functions	fileatime.xml 
  Log:
  sync
  

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/fileatime.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/fileatime.xml
+++ phpdoc-hu/reference/filesystem/functions/fileatime.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.fileatime">
   <refnamediv>
    <refname>fileatime</refname>
    <refpurpose>Kinyeri az utolsó hozzáférési idõpontját a fájlnak</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
     <methodsynopsis>
      <type>int</type><methodname>fileatime</methodname>
      <methodparam><type>string</type><parameter>filename</parameter></methodparam>
     </methodsynopsis>
    <simpara> 
     Visszaadja azt az idõpontot, amikor utoljára fértek hozzá a fájlhoz vagy &false;-t
     hiba esetén. Az idõpontot Unix idõbélyegként adja vissza.
    </simpara>
    <simpara>
     Megjegyzés: az utolsó hozzáférési idõ feltehetõen mindig megváltozik,
	 amikor adatblokkokat olvasnak a fájlból. Ez 
     pazarló teljesítményt eredményezhet, amikor egy alkalmazás rendszerint
     nagy számú fájlhoz és könyvtárhoz fér hozzá. Néhány
     Unix fájlrendszer bemountolható az utolsó hozzáférési idõ frissítésének a kikapcsolásával,
     így növelve az ilyen alkalmazások teljesítményét; a USENET
     hírcsomók egy gyakori példa. Hasonló fájlrendszereken
     ez a funkció hasznavehetetlen.
    </simpara>
    
    &note.clearstatcache;
    
    &tip.fopen-wrapper.stat;

    <para>
     <example>
      <title><function>fileatime</function> példa</title>
      <programlisting role="php">
<![CDATA[
<?php

// példa kimenetre: somefile.txt was last accessed: December 29 2002 22:16:23.

$filename = 'somefile.txt';
if (file_exists($filename)) {
    echo "$filename was last accessed: " . date("F d Y H:i:s.", fileatime($filename));
}

?>
]]>
      </programlisting>
     </example>
    </para>
    <simpara>
     Lásd még: <function>filemtime</function>,
     <function>fileinode</function> és
     <function>date</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
-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.