cvs: phpdoc-pl /reference/bzip2/functions bzopen.xml

From: Date: Mon, 17 Nov 2003 02:01:56 +0000
Subject: cvs: phpdoc-pl /reference/bzip2/functions bzopen.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-225@lists.php.net to get a copy of this message
leszek Sun Nov 16 21:01:56 2003 EDT Added files: /phpdoc-pl/reference/bzip2/functions bzopen.xml Log: Index: phpdoc-pl/reference/bzip2/functions/bzopen.xml +++ phpdoc-pl/reference/bzip2/functions/bzopen.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: coder Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzopen"> <refnamediv> <refname>bzopen</refname> <refpurpose>Otwiera skompresowany plik bzip2</refpurpose> </refnamediv> <refsect1> <title>Opis</title> <methodsynopsis> <type>resource</type><methodname>bzopen</methodname> <methodparam><type>string</type><parameter>nazwa_pliku</parameter></methodparam> <methodparam><type>string</type><parameter>tryb</parameter></methodparam> </methodsynopsis> <para> Otwiera plik bzip2 (.bz2) o nazwie przekazanej w parametrze <parameter>nazwa_pliku</parameter> do odczytu lub zapisu. Atrybut <parameter>tryb</parameter> przyjmuje te same warto¶ci co w funkcji <function>fopen</function> (r' do odczytu, w' do zapisu, etc.). </para> <para> Je¿eli próba otwarcia pliku nie powiedzie siê, funkcja zwróci &false;. W przeciwnym wypadku zwrócony zostanie uchwyt do otwartego pliku. </para> <para> <example> <title>Otwieranie pliku bzip2 przy pomocy <function>bzopen</function></title> <programlisting role="php"> <![CDATA[ <?php $bz = bzopen("/tmp/foo.bz2", "r"); $dane = bzread($bz, filesize("/tmp/foo.bz2")); bzclose($bz); print( "Zawarto¶æ pliku /tmp/foo.bz2: " ); print( "\n<br>\n" ); print( $dane ); ?> ]]> </programlisting> </example> </para> <para> Patrz tak¿e <function>bzclose</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.pl (#225) next »