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

[email protected] ("Lajos Cseppent?")
Newsgroups php.doc.hu
Message-ID <cvschappy1170575306@cvsserver>
chappy		Sun Feb  4 07:48:26 2007 UTC

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

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/filesize.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/filesize.xml
+++ phpdoc-hu/reference/filesystem/functions/filesize.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.8 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.filesize">
 <refnamediv>
  <refname>filesize</refname>
  <refpurpose>Kinyeri a fájl méretét</refpurpose>
 </refnamediv>
 <refsect1>
  <title>Leírás</title>
  <methodsynopsis>
   <type>int</type><methodname>filesize</methodname>
   <methodparam><type>string</type><parameter>filename</parameter></methodparam>
  </methodsynopsis>
  <para>
   Visszaadja a fájl méretét bájtokban, vagy &false;-t (és 
   <constant>E_WARNING</constant> szintû hibát generál) hiba esetén.
  </para>
  <note>
   <simpara>
    Mivel a PHP egész szám (integer) típusa elõjeles és több platform 32bites egész számokat használ,
    a <function>filesize</function> váratlan eredményeket adhat olyan fájloknál, 
    melyek 2GB-nál nagyobbak. A 2GB és 4GB közötti fájlok esetében ez legyõzhetõ a
    <literal>sprintf("%u", filesize($file))</literal>-t használva.
   </simpara>
  </note>

  &note.clearstatcache;

  &tip.fopen-wrapper.stat;

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

// kimenetre példa: somefile.txt: 1024 bytes

$filename = 'somefile.txt';
echo $filename . ': ' . filesize($filename) . ' bytes';

?>
]]>
    </programlisting>
   </example>
  </para>
  <simpara>
   Lásd még: <function>file_exists</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.