cvs: phpdoc-pl /reference/filesystem/functions filectime.xml
| From: | Leszek Krupinski | Date: | Sun, 27 Feb 2005 01:09:20 +0000 |
| Subject: | cvs: phpdoc-pl /reference/filesystem/functions filectime.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-480@lists.php.net to get a copy of this message | ||
leszek Sat Feb 26 20:09:20 2005 EDT
Modified files:
/phpdoc-pl/reference/filesystem/functions filectime.xml
Log:
[adi] update to rev 1.6
http://cvs.php.net/diff.php/phpdoc-pl/reference/filesystem/functions/filectime.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-pl/reference/filesystem/functions/filectime.xml
diff -u phpdoc-pl/reference/filesystem/functions/filectime.xml:1.2
phpdoc-pl/reference/filesystem/functions/filectime.xml:1.3
--- phpdoc-pl/reference/filesystem/functions/filectime.xml:1.2 Wed Apr 17 03:16:09 2002
+++ phpdoc-pl/reference/filesystem/functions/filectime.xml Sat Feb 26 20:09:19 2005
@@ -1,44 +1,56 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- splitted from ./pl/functions/filesystem.xml, last change in rev 1.1 -->
-<!-- last change to 'filectime' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.2 Maintainer: adi Status: partial -->
-<!-- OLD-Revision: 1.115/EN.1.2 -->
+<!-- EN-Revision: 1.6 Maintainer: adi Status: ready -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.filectime">
<refnamediv>
<refname>filectime</refname>
- <refpurpose>Gets inode change time of file</refpurpose>
+ <refpurpose>Pobiera i-wêz³owy czas zmiany pliku</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Opis</title>
<methodsynopsis>
<type>int</type><methodname>filectime</methodname>
-
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
+
<methodparam><type>string</type><parameter>nazwa_pliku</parameter></methodparam>
</methodsynopsis>
<para>
- Returns the time the file was last changed, or &false; in case of
- an error. The time is returned as a Unix timestamp.
+ Zwraca czas, ostatniej zmiany pliku lub &false; w
+ przypadku b³êdu. Czas jest zwracany w postaci unix'owego znacznika
+ czasu.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
- </para>
- <para>
- Note: In most Unix filesystems, a file is considered
- changed when its inode data is changed; that is, when
- the permissions, owner, group, or other metadata
- from the inode is updated. See also
- <function>filemtime</function> (which is what you want to use
- when you want to create "Last Modified" footers on web pages) and
+ Uwaga: W wiêkszo¶ci Unixowych systemów plików, plik ulega zmianie
+ wtedy kiedy dane jego i-wêz³a zmieniaj± siê; tj. kiedy prawa dostêpu,
+ w³a¶ciciel, grupa lub inne metadane z i-wêz³± s± nadpisywane.
+ Patrz tak¿e: <function>filemtime</function> (któr± powinniene¶ u¿yæ, gdy
chcesz stworzyæ
+ stopkê strony "Ostatnia Modyfikacja") i
<function>fileatime</function>.
</para>
- <para>Note also that in some Unix texts the ctime of a file is
- referred to as being the creation time of the file. This is wrong.
- There is no creation time for Unix files in most Unix filesystems.
+ <para>Zauwa¿ tak¿e, ¿e w niektórych tekstach Unixowych ctime pliku jest
+ okre¶lany jako bêd±cy czasem stworzenia pliku. To jest nieprawid³owe.
+ Nie ma pojêcia czasu stworzenia dla plików Unixowych wiêkszo¶ci Unixowych systemów
plików.
</para>
+ ¬e.clearstatcache;
+ &tip.fopen-wrapper.stat;
+ <para>
+ <example>
+ <title><function>fileatime</function> przyk³ad</title>
+ <programlisting role="php">
+ <![CDATA[
+ <?php
+
+ // wy¶wietli np. jakisplik.txt zosta³ ostatnio zmieniony : December 29 2002 22:16:23.
+
+ $filename = 'jakisplik.txt';
+ if (file_exists($filename)) {
+ echo "$filename zosta³ ostatnio zmieniony : " . date("F d Y H:i:s.",
filectime($filename));
+ }
+ ?>
+ ]]>
+ </programlisting>
+ </example>
+ </para>
<simpara>
- This function will not work on <link
- linkend="features.remote-files">remote files</link>; the file to
- be examined must be accessible via the server's filesystem.
+ Patrz tak¿e: <function>filemtime</function>
</simpara>
</refsect1>
</refentry>