luk Wed Nov 21 19:02:11 2001 EDT
Modified files:
/phpdoc/cs/functions filesystem.xml
Log:
Index: phpdoc/cs/functions/filesystem.xml
diff -u phpdoc/cs/functions/filesystem.xml:1.7 phpdoc/cs/functions/filesystem.xml:1.8
--- phpdoc/cs/functions/filesystem.xml:1.7 Wed Nov 21 09:37:20 2001
+++ phpdoc/cs/functions/filesystem.xml Wed Nov 21 19:02:09 2001
@@ -55,7 +55,7 @@
</funcsynopsis>
<para>
Pokus� se nastavit skupinu souboru <parameter>filename</parameter> na
- <parameter>group</parameter>. Pouze superuser m��e libovoln� zm�nit
+ <parameter>group</parameter>. Pouze superu�ivatel m��e libovoln� zm�nit
skupinu souboru; ostatn� u�ivatel� mohou zm�nit skupinu souboru na jinou
skupinu, j�� jsou �leny.
</para>
@@ -133,8 +133,8 @@
</funcprototype>
</funcsynopsis>
<para>
- Pokus� se zm�nit majitele souboru na <parameter>user</parameter>. Pouze
- superuser m��e zm�nit majitele souboru.
+ Pokus� se zm�nit vlastn�ka souboru na <parameter>user</parameter>. Pouze
+ superu�ivatel m��e zm�nit majitele souboru.
</para>
<para>
P�i �sp�chu vrac� &true;, jinak &false;.
@@ -1136,7 +1136,7 @@
</para>
<para>
<example>
- <title><function>fopen</function> example</title>
+ <title><function>fopen</function> p��klad</title>
<programlisting role="php">
$fp = fopen ("/home/rasmus/file.txt", "r");
$fp = fopen ("/home/rasmus/file.gif", "wb");
@@ -1146,14 +1146,14 @@
</example>
</para>
<simpara>
- If you are experiencing problems with reading and writing to
- files and you're using the server module version of PHP, remember
- to make sure that the files and directories you're using are
- accessible to the server process.
+ Pokud jste zaznamenali probl�my se �ten�m a z�pisem do soubor�
+ a pou��v�te PHP jako modul do serveru, nezapome�te zajistit, aby
+ soubory a adres��e, kter� pou��v�te, byly p��stupn� pro serverov�
+ proces.
</simpara>
<para>
- On the Windows platform, be careful to escape any backslashes
- used in the path to the file, or use forward slashes.
+ Na Windows je t�eba oescapovat v�echna zp�tn� lom�tka ve specifikaci
+ cesty k souboru nebo pou��vat oby�ejn� (dop�edn�) lom�tka.
<informalexample>
<programlisting role="php">
$fp = fopen ("c:\\data\\info.txt", "r");
@@ -1163,7 +1163,7 @@
<simpara>
Viz tak� <function>fclose</function>,
<function>fsockopen</function>,
- <function>socket_set_timeout</function>, and
+ <function>socket_set_timeout</function>, a
<function>popen</function>.
</simpara>
</refsect1>
@@ -1173,7 +1173,7 @@
<refnamediv>
<refname>fpassthru</refname>
<refpurpose>
- Output all remaining data on a file pointer
+ Vyp��e v�echna zb�vaj�c� data v souboru
</refpurpose>
</refnamediv>
<refsect1>
@@ -1185,28 +1185,28 @@
</funcprototype>
</funcsynopsis>
<simpara>
- Reads to EOF on the given file pointer and writes the results to
- standard output.
+ �te a� do dosa�en� konce souboru specifikovan�ho deskriptorem a
+ na�ten� p�episuje na standardn� v�stup.
</simpara>
<simpara>
- If an error occurs, <function>fpassthru</function> returns
- &false;.
+ Pokud nastane chyba, funkce <function>fpassthru</function>
+ vrac� &false;.
</simpara>
<simpara>
- The file pointer must be valid, and must point to a file
- successfully opened by <function>fopen</function>,
- <function>popen</function>, or <function>fsockopen</function>.
- The file is closed when <function>fpassthru</function> is done
- reading it (leaving <parameter>fp</parameter> useless).
+ Deskriptor souboru mus� b�t platn� a mus� ukazovat na soubor
+ �sp�n� otev�en� pomoc� <function>fopen</function>,
+ <function>popen</function>, nebo <function>fsockopen</function>.
+ A� funkce <function>fpassthru</function> ukon�� �ten�, zav�e soubor
+ (deskriptor <parameter>fp</parameter> t�m ztr�c� smysl).
</simpara>
<simpara>
- If you just want to dump the contents of a file to stdout you may
- want to use the <function>readfile</function>, which saves you
- the <function>fopen</function> call.
+ Kdy� chcete vypsat obsah souboru na standardn� v�stup (stdout),
+ m��ete pou�� funkci <function>readfile</function>, kter� v�s
+ u�et�� vol�n� funkce <function>fopen</function>.
</simpara>
<simpara>
Viz tak� <function>readfile</function>,
- <function>fopen</function>, <function>popen</function>, and
+ <function>fopen</function>, <function>popen</function>, a
<function>fsockopen</function>
</simpara>
</refsect1>
@@ -1215,7 +1215,7 @@
<refentry id="function.fputs">
<refnamediv>
<refname>fputs</refname>
- <refpurpose>Writes to a file pointer</refpurpose>
+ <refpurpose>Zap��e do souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1232,10 +1232,10 @@
</funcprototype>
</funcsynopsis>
<para>
- <function>fputs</function> is an alias to
- <function>fwrite</function>, and is identical in every way. Note
- that the <parameter>length</parameter> parameter is optional and
- if not specified the entire string will be written.
+ Funkce <function>fputs</function> je alias k
+ <function>fwrite</function> a je s n� tedy naprosto identick�.
+ Uv�domte si, �e parametr <parameter>length</parameter> je nepovinn�
+ a pokud nen� specifikov�n, zap��e se cel� �etezec.
</para>
</refsect1>
</refentry>
@@ -1243,7 +1243,7 @@
<refentry id="function.fread">
<refnamediv>
<refname>fread</refname>
- <refpurpose>Binary-safe file read</refpurpose>
+ <refpurpose>Bin�rn� bezpe�n� �ten� ze souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1255,16 +1255,16 @@
</funcprototype>
</funcsynopsis>
<simpara>
- <function>fread</function> reads up to
- <parameter>length</parameter> bytes from the file pointer
- referenced by <parameter>fp</parameter>. Reading stops when
- <parameter>length</parameter> bytes have been read or EOF is
- reached, whichever comes first.
+ <function>fread</function> p�e�te nejv��e
+ <parameter>length</parameter> byt� ze souboru specifikovan�ho
+ deskriptorem <parameter>fp</parameter>. �ten� kon��, pokud je
+ p�e�teno <parameter>length</parameter> byt� nebo je dosa�en konec
+ souboru (podle toho, co p�ijde d��v).
</simpara>
<para>
<informalexample>
<programlisting role="php">
-// get contents of a file into a string
+// nacte obsah souboru do retezce
$filename = "/usr/local/something.txt";
$fd = fopen ($filename, "r");
$contents = fread ($fd, filesize ($filename));
@@ -1276,7 +1276,7 @@
Viz tak� <function>fwrite</function>, <function>fopen</function>,
<function>fsockopen</function>, <function>popen</function>,
<function>fgets</function>, <function>fgetss</function>,
- <function>fscanf</function>, <function>file</function>, and
+ <function>fscanf</function>, <function>file</function>, a
<function>fpassthru</function>.
</simpara>
</refsect1>
@@ -1285,7 +1285,7 @@
<refentry id="function.fscanf">
<refnamediv>
<refname>fscanf</refname>
- <refpurpose>Parses input from a file according to a format</refpurpose>
+ <refpurpose>Parsuje vstup ze souboru podle form�tu</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1300,22 +1300,21 @@
</funcprototype>
</funcsynopsis>
<para>
- The function <function>fscanf</function> is similar to
- <function>sscanf</function>, but it takes its input from a file
- associated with <parameter>handle</parameter> and interprets the
- input according to the specified
- <parameter>format</parameter>. If only two parameters were passed
- to this function, the values parsed will be returned as an array.
- Otherwise, if optional parameters are passed, the function will
- return the number of assigned values. The optional parameters
- must be passed by reference.
+ Funkce <function>fscanf</function> je podobn�
+ <function>sscanf</function>, ale na��t� ze souboru specifikovan�ho
+ <parameter>handle</parameter> a interpretuje vstupn� data podle
+ specifikovan�ho form�tu <parameter>format</parameter>. Pokud m�
+ funkce pouze dva parametry, parsovan� hodnoty bude vr�ceny jako pole.
+ Jinak, kdy� jsou pou�ity nepovinn� parametry, funkce vrac� ur�it�
+ po�et asignovan�ch hodnot. Nepovinn� parametry mus� b�t vlo�eny
+ odkazem.
<example>
- <title><function>fscanf</function> Example</title>
+ <title><function>fscanf</function> P��klad</title>
<programlisting role="php">
$fp = fopen ("users.txt","r");
while ($userinfo = fscanf ($fp, "%s\t%s\t%s\n")) {
list ($name, $profession, $countrycode) = $userinfo;
- //... do something with the values
+ //... udelej neco s hodnotami
}
fclose($fp);
</programlisting>
@@ -1333,7 +1332,7 @@
<para>
Viz tak� <function>fread</function>, <function>fgets</function>,
<function>fgetss</function>, <function>sscanf</function>,
- <function>printf</function>, and <function>sprintf</function>.
+ <function>printf</function>, a <function>sprintf</function>.
</para>
</refsect1>
</refentry>
@@ -1341,7 +1340,7 @@
<refentry id="function.fseek">
<refnamediv>
<refname>fseek</refname>
- <refpurpose>Seeks on a file pointer</refpurpose>
+ <refpurpose>Posouv� ukazatel v souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1356,40 +1355,39 @@
</funcprototype>
</funcsynopsis>
<para>
- Sets the file position indicator for the file referenced by
- <parameter>fp</parameter>.The new position, measured in bytes
- from the beginning of the file, is obtained by adding
- <parameter>offset</parameter> to the position specified by
- <parameter>whence</parameter>, whose values are defined as
- follows:
+ Nastav� ukazatel pozice v souboru specifikovan� pomoc�
+ deskriptoru <parameter>fp</parameter>. Nov� pozice, m��en�
+ po�tem byt� od za��tku souboru, je z�sk�na p�i�ten�m hodnoty
+ <parameter>offset</parameter> k pozici specifikovan� pomoc�
+ <parameter>whence</parameter>, jeho� hodnota je definovan�na:
<simplelist>
- <member>SEEK_SET - Set position equal to
- <parameter>offset</parameter> bytes.</member> <member>SEEK_CUR -
- Set position to current location plus
- <parameter>offset</parameter>.</member> <member>SEEK_END - Set
- position to end-of-file plus
- <parameter>offset</parameter>.</member>
+ <member>SEEK_SET - Nastav na pozici rovnu
+ <parameter>offset</parameter> byt�.</member> <member>SEEK_CUR -
+ Nastav pozici na sou�asnou plus po�et byt� v
+ <parameter>offset</parameter>.</member> <member>SEEK_END - Nastav
+ na konec souboru plus
+ <parameter>offset</parameter> byt�.</member>
</simplelist>
</para>
- <para>If <parameter>whence is not specified, it is assumed to be
- SEEK_SET.</parameter>
+ <para>Pokud nen� parametr <parameter>whence</parameter> specifikov�n,
+ pou�ije se SEEK_SET.
</para>
<para>
- Upon success, returns 0; otherwise, returns -1. Pozn.: seeking
- past EOF is not considered an error.
+ P�i �sp�chu vrac� 0, jinak -1. Pozn.: p�esun za konec souboru
+ nen� pova�ov�n za chybu.
</para>
<para>
- May not be used on file pointers returned by
- <function>fopen</function> if they use the "http://" or "ftp://"
- formats.
+ Nelze pou��t na deskriptor souboru vr�cen� funkc�
+ <function>fopen</function>, jestli�e byl pou�it form�t "http://" nebo
+ "ftp://".
</para>
<note>
<para>
- The <parameter>whence</parameter> argument was added after PHP 4.0 RC1.
+ Argument <parameter>whence</parameter> byl p�id�n po verzi PHP 4.0 RC1.
</para>
</note>
<para>
- Viz tak� <function>ftell</function> and
+ Viz tak� <function>ftell</function> a
<function>rewind</function>.
</para>
</refsect1>
@@ -1399,7 +1397,7 @@
<refnamediv>
<refname>fstat</refname>
<refpurpose>
- Gets information about a file using an open file pointer
+ Vrac� informace o otev�en�m souboru
</refpurpose>
</refnamediv>
<refsect1>
@@ -1411,14 +1409,13 @@
</funcprototype>
</funcsynopsis>
<para>
- Gathers the statistics of the file opened by the file
- pointer fp. This function is similar to the
- <function>stat</function> function except that it operates
- on an open file pointer instead of a filename.
+ Sb�r� statistiky otev�en�ho souboru specifikovan�m
+ deskriptorem <parameter>fp</parameter>. Tato funkce je
+ podobn� funkci <function>stat</function>, pracuje
+ v�ak s deskriptorem, nikoli n�zvem souboru.
</para>
<para>
- Returns an array with the statistics of the file with the
- following elements:
+ Vrac� pole se statistikami souboru s t�mito elementy:
<orderedlist>
<listitem><simpara>device</simpara></listitem>
<listitem><simpara>inode</simpara></listitem>
@@ -1433,11 +1430,11 @@
<listitem><simpara>blocksize for filesystem I/O *</simpara></listitem>
<listitem><simpara>number of blocks allocated</simpara></listitem>
</orderedlist>
- * - only valid on systems supporting the st_blksize type--other
- systems (i.e. Windows) return -1</para>
+ * - platn� pouze na syst�mech s podporou typu st_blksize -- jinde
+ (nap�. na Windows) vrac� -1</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce detail� - viz
+ <function>clearstatcache</function>.
</para>
</refsect1>
</refentry>
@@ -1445,7 +1442,7 @@
<refentry id="function.ftell">
<refnamediv>
<refname>ftell</refname>
- <refpurpose>Tells file pointer read/write position</refpurpose>
+ <refpurpose>Vrac� pozici v souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1456,20 +1453,20 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the position of the file pointer referenced by fp; i.e.,
- its offset into the file stream.
+ Vrac� pozici v souboru odkazovan�m deskriptorem fp; typicky
+ offset ve streamu.
</para>
<para>
- If an error occurs, returns &false;.
+ Pokud nastane chyba, vrac� &false;.
</para>
<para>
- The file pointer must be valid, and must point to a file
- successfully opened by <function>fopen</function> or
- <function>popen</function>.
+ Deskriptor souboru mus� b�t platn� a mus� ukazovat na soubor
+ �sp�n� otev�en� pomoc� <function>fopen</function>,
+ <function>popen</function>, nebo <function>fsockopen</function>.
</para>
<para>
Viz tak� <function>fopen</function>, <function>popen</function>,
- <function>fseek</function> and <function>rewind</function>.
+ <function>fseek</function> a <function>rewind</function>.
</para>
</refsect1>
</refentry>
@@ -1478,7 +1475,7 @@
<refnamediv>
<refname>ftruncate</refname>
<refpurpose>
- Truncates a file to a given length.
+ Zkr�t� soubor na danou d�lku
</refpurpose>
</refnamediv>
<refsect1>
@@ -1491,8 +1488,9 @@
</funcprototype>
</funcsynopsis>
<para>
- Takes the filepointer, fp, and truncates the file to length, size.
- This function returns &true; on success and &false; on failure.
+ Vezme soubor specifikovan� pomoc� <parameter>fp</parameter> a
+ zkr�t� ho na d�lku <parameter>size</parameter>.
+ Vrac� &true; p�i �sp�chu a &false; p�i chyb�.
</para>
</refsect1>
</refentry>
@@ -1500,7 +1498,7 @@
<refentry id="function.fwrite">
<refnamediv>
<refname>fwrite</refname>
- <refpurpose>Binary-safe file write</refpurpose>
+ <refpurpose>Bin�rn� bezpe�n� z�pis do souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1517,24 +1515,23 @@
</funcprototype>
</funcsynopsis>
<simpara>
- <function>fwrite</function> writes the contents of
- <parameter>string</parameter> to the file stream pointed to by
- <parameter>fp</parameter>. If the <parameter>length</parameter>
- argument is given, writing will stop after
- <parameter>length</parameter> bytes have been written or the end
- of <parameter>string</parameter> is reached, whichever comes
- first.
+ <function>fwrite</function> zap��e obsah �et�zce
+ <parameter>string</parameter> do souboru specifikovan�ho pomoc�
+ <parameter>fp</parameter>. Pokud je zde argument
+ <parameter>length</parameter>, z�pis skon�� po zaps�n�
+ <parameter>length</parameter> byt� nebo p�i dosa�en� konce
+ �et�zce <parameter>string</parameter>, podle toho, co p�ijde
+ d��v.
</simpara>
<simpara>
- Pozn.: if the <parameter>length</parameter> argument is given,
- then the <link
- linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>
- configuration option will be ignored and no slashes will be
- stripped from <parameter>string</parameter>.
+ Pozn.: pokud je d�n argument <parameter>length</parameter>, volba
+ <link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>
+ v konfiguraci bude ignorov�na a nebudou odstra�ov�na ��dn�
+ lom�tka z �et�zce <parameter>string</parameter>.
</simpara>
<simpara>
Viz tak� <function>fread</function>, <function>fopen</function>,
- <function>fsockopen</function>, <function>popen</function>, and
+ <function>fsockopen</function>, <function>popen</function>, a
<function>fputs</function>.
</simpara>
</refsect1>
@@ -1544,7 +1541,7 @@
<refnamediv>
<refname>set_file_buffer</refname>
<refpurpose>
- Sets file buffering on the given file pointer
+ Nastav� buffer pro soubor
</refpurpose>
</refnamediv>
<refsect1>
@@ -1557,24 +1554,25 @@
</funcprototype>
</funcsynopsis>
<simpara>
- Output using <function>fwrite</function> is normally buffered at
- 8K. This means that if there are two processess wanting to write
- to the same output stream (a file), each is paused after 8K of
- data to allow the other to write. <function>set_file_buffer</function>
- sets the buffering for write operations on the given filepointer
- <parameter>fp</parameter> to <parameter>buffer</parameter> bytes.
- If <parameter>buffer</parameter> is 0 then write operations are
- unbuffered. This ensures that all writes with
- <function>fwrite</function> are completed before other processes
- are allowed to write to that output stream.
- </simpara>
- <simpara>
- The function returns 0 on success, or EOF if the request cannot
- be honored.
- </simpara>
- <para>
- The following example demonstrates how to use
- <function>set_file_buffer</function> to create an unbuffered stream.
+ V�stup pomoc� <function>fwrite</function> je implicitn� bufferov�n
+ do bufferu o velikosti 8 KB. To znamen�, �e kdy� cht�j� dva procesy
+ zapisovat do t�ho� streamu (souboru), ka�d� je v�dy po 8 KB p�eru�en,
+ aby ten druh� mohl zapisovat. Funkce
+ <function>set_file_buffer</function>
+ nastavuje buffering pro z�pis p�es dan� deskriptor
+ <parameter>fp</parameter> na <parameter>buffer</parameter> byt�.
+ Pokud je <parameter>buffer</parameter> roven 0, z�pisy nejsou
+ bufferov�ny. To zaji��uje, �e v�echny z�pisy jsou dokon�eny
+ d��v, ne� ostatn� procesy mohou do souboru zapisovat.
+ </simpara>
+ <simpara>
+ Funkce vrac� 0 p�i �sp�chu nebo EOF (konec souboru) pokud
+ po�adavek nem��e b�t uskute�n�n.
+ </simpara>
+ <para>
+ N�sleduj�c� p��klad demonstruje, jak pou��vat funkci
+ <function>set_file_buffer</function> k vytvo�en� nebufferovan�ho
+ streamu.
<example>
<title><function>set_file_buffer</function> example</title>
<programlisting role="php">
@@ -1597,7 +1595,7 @@
<refentry id="function.is-dir">
<refnamediv>
<refname>is_dir</refname>
- <refpurpose>Tells whether the filename is a directory</refpurpose>
+ <refpurpose>Zjist�, zda je dan� soubor adres��em</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1608,14 +1606,14 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns &true; if the filename exists and is a directory.
+ Vrac� &true; kdy� soubor existuje a jedn� se o adres��.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce detail� - viz
+ <function>clearstatcache</function>.
</para>
<para>
- Viz tak� <function>is_file</function> and
+ Viz tak� <function>is_file</function> a
<function>is_link</function>.
</para>
</refsect1>
@@ -1624,7 +1622,7 @@
<refentry id="function.is-executable">
<refnamediv>
<refname>is_executable</refname>
- <refpurpose>Tells whether the filename is executable</refpurpose>
+ <refpurpose>Zjist�, zda je soubor spustiteln�</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1635,14 +1633,14 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns &true; if the filename exists and is executable.
+ Vrac� &true;, kdy� soubor existuje a je spustiteln� (provediteln�)
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce detail� - viz
+ <function>clearstatcache</function>.
</para>
<para>
- Viz tak� <function>is_file</function> and
+ Viz tak� <function>is_file</function> a
<function>is_link</function>.
</para>
</refsect1>
@@ -1652,7 +1650,7 @@
<refnamediv>
<refname>is_file</refname>
<refpurpose>
- Tells whether the filename is a regular file
+ Zjist�, zda se jedn� o oby�ejn� (regular) soubor
</refpurpose>
</refnamediv>
<refsect1>
@@ -1664,14 +1662,14 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns &true; if the filename exists and is a regular file.
+ Vrac� &true;, kdy� soubor existuje a jedn� se o oby�ejn� (regular) soubor
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce detail� - viz
+ <function>clearstatcache</function>.
</para>
<para>
- Viz tak� <function>is_dir</function> and
+ Viz tak� <function>is_dir</function> a
<function>is_link</function>.
</para>
</refsect1>
@@ -1681,7 +1679,7 @@
<refnamediv>
<refname>is_link</refname>
<refpurpose>
- Tells whether the filename is a symbolic link
+ Zjist�, zda se jedn� o symbolick� odkaz (link)
</refpurpose>
</refnamediv>
<refsect1>
@@ -1693,14 +1691,14 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns &true; if the filename exists and is a symbolic link.
+ Vrac� &true;, kdy� soubor existuje a jedn� se o symbolick� odkaz (link).
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce detail� - viz
+ <function>clearstatcache</function>.
</para>
<para>
- Viz tak� <function>is_dir</function> and
+ Viz tak� <function>is_dir</function> a
<function>is_file</function>.
</para>
<note>
@@ -1715,7 +1713,7 @@
<refnamediv>
<refname>is_readable</refname>
<refpurpose>
- Tells whether the filename is readable
+ Zjist�, zda lze ze souboru ��st
</refpurpose>
</refnamediv>
<refsect1>
@@ -1727,16 +1725,17 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns &true; if the filename exists and is readable.
+ Vrac� &true;, kdy� soubor existuje a lze z n�j ��st.
</para>
<para>
- Keep in mind that PHP may be accessing the file as the user
- id that the web server runs as (often 'nobody'). Safe mode
- limitations are not taken into account.
+ M�jte na pam�ti, �e PHP m��e p�istupovat k souboru s pr�vy,
+ kter�mi disponuje WWW server (obvykle 'nobody'). Omezen�
+ bezpe�n�ho re�imu (safe mode limitations)
+ are not taken into account.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce detail� - viz
+ <function>clearstatcache</function>.
</para>
<para>
Viz tak� <function>is_writable</function>.
@@ -1747,7 +1746,7 @@
<refentry id="function.is-writable">
<refnamediv>
<refname>is_writable</refname>
- <refpurpose>Tells whether the filename is writable</refpurpose>
+ <refpurpose>Zjist�, zda lze do souboru zapisovat</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1758,18 +1757,19 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns &true; if the filename exists and is writable. The
- filename argument may be a directory name allowing you to check
- if a directory is writeable.
+ Vrac� &true;, kdy� soubor existuje a lze do n�j zapisovat.
+ N�zev souboru (argument filename) m��e b�t n�zev adres��e,
+ potom se zji��uje, zda lze do adres��e zapisovat.
</para>
<para>
- Keep in mind that PHP may be accessing the file as the user id
- that the web server runs as (often 'nobody'). Safe mode
- limitations are not taken into account.
+ M�jte na pam�ti, �e PHP m��e p�istupovat k souboru s pr�vy,
+ kter�mi disponuje WWW server (obvykle 'nobody'). Omezen�
+ bezpe�n�ho re�imu (safe mode limitations)
+ are not taken into account.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce detail� - viz
+ <function>clearstatcache</function>.
</para>
<para>
Viz tak� <function>is_readable</function>.
@@ -1780,7 +1780,7 @@
<refentry id="function.is-uploaded-file">
<refnamediv>
<refname>is_uploaded_file</refname>
- <refpurpose>Tells whether the file was uploaded via HTTP POST.</refpurpose>
+ <refpurpose>Zjist�, zda byl soubor uploadov�n pomoc� HTTP POST</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1792,29 +1792,28 @@
</funcsynopsis>
<para>
- This function is available only in versions of PHP 3 after PHP
- 3.0.16, and in versions of PHP 4 after 4.0.2.
+ Tato funkce je dostupn� pouze na verz�ch PHP 3 od 3.0.16
+ a na verz�ch PHP 4 od 4.0.2.
</para>
<para>
- Returns &true; if the file named by <varname>filename</varname> was
- uploaded via HTTP POST. This is useful to help ensure that a
- malicious user hasn't tried to trick the script into working on
- files upon which it should not be working--for instance,
+ Vrac� &true;, pokud soubor nazvan� <varname>filename</varname>
+ byl uploadov�n pomoc� HTTP POST. To je u�ite�n� k uji�t�n� se,
+ zda se neuk�zn�n� u�ivatel nepokusil upravit skript tak, aby
+ pracoval se soubory, se kter�mi by pracovat nem�l -- nap��klad
<filename>/etc/passwd</filename>.
</para>
<para>
- This sort of check is especially important if there is any chance
- that anything done with uploaded files could reveal their
- contents to the user, or even to other users on the same
- system.
+ Tento druh test� je zvl�t� d�le�it�, je-li mo�nost,
+ �e akce na uploadovan�ch souborech m��e zp��stupnit jejich
+ obsah u�ivateli nebo jin�m u�ivatek�m tohoto syst�mu.
</para>
<para>
- Viz tak� <function>move_uploaded_file</function>, and the section
- <link linkend="features.file-upload">Handling file uploads</link>
- for a simple usage example.
+ Viz tak� <function>move_uploaded_file</function>, a sekce
+ <link linkend="features.file-upload">Handling file uploads</link>,
+ kde je p��klad jednoduch�ho pou�it�.
</para>
</refsect1>
</refentry>
@@ -1822,7 +1821,7 @@
<refentry id="function.link">
<refnamediv>
<refname>link</refname>
- <refpurpose>Create a hard link</refpurpose>
+ <refpurpose>Vytvo�� hard link</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1834,10 +1833,10 @@
</funcprototype>
</funcsynopsis>
<para>
- <function>link</function> creates a hard link.</para>
+ <function>link</function> vytvo�� hard link.</para>
<para>
- Viz tak� the <function>symlink</function> to create soft links,
- and <function>readlink</function> along with
+ Viz tak� <function>symlink</function> pro vytv��en� symbolick�ch link�
+ a <function>readlink</function> spolu s
<function>linkinfo</function>.
</para>
<note>
@@ -1851,7 +1850,7 @@
<refentry id="function.linkinfo">
<refnamediv>
<refname>linkinfo</refname>
- <refpurpose>Gets information about a link</refpurpose>
+ <refpurpose>Vrac� informaci o odkazu (linku)</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1862,16 +1861,16 @@
</funcprototype>
</funcsynopsis>
<para>
- <function>linkinfo</function> returns the st_dev field of the
- UNIX C stat structure returned by the lstat system call. This
- function is used to verify if a link (pointed to by
- <parameter>path</parameter>) really exists (using the same method
- as the S_ISLNK macro defined in stat.h). Returns 0 or &false; in
- case of error.
+ <function>linkinfo</function> vrac� polo�ku st_dev field
+ struktury UNIX C stat z�skanou syst�mov�m vol�n�m lstat.
+ Tato funkce se pou��v� pro ov��en�, zda odkaz (specifikovan�
+ pomoc� <parameter>path</parameter>) opravdu existuje (pou��v� se
+ tat� metoda jako je makro S_ISLNK definovan� v stat.h). Vrac� 0,
+ v p��pad� chyby&false;.
</para>
<para>
Viz tak� <function>symlink</function>, <function>link</function>,
- and <function>readlink</function>.
+ a <function>readlink</function>.
</para>
<note>
<simpara>