cvs: phpdoc-es / translation.xml /reference/zlib configure.xml constants.xml ini.xml /reference/zlib/functions gzclose.xml gzcompress.xml
gzdeflate.xml gzencode.xml gzeof.xml gzgetc.xml gzgets.xml gzgetss.xml gzinflate.xml gzread.xml gzrewind.xml gzseek.xml gzuncompress.xml
zlib-get-coding-type.xml

From: Date: Thu, 24 Jun 2004 20:01:07 +0000
Subject: cvs: phpdoc-es / translation.xml /reference/zlib configure.xml constants.xml ini.xml /reference/zlib/functions gzclose.xml gzcompress.xml
gzdeflate.xml gzencode.xml gzeof.xml gzgetc.xml gzgets.xml gzgetss.xml gzinflate.xml gzread.xml gzrewind.xml gzseek.xml gzuncompress.xml
zlib-get-coding-type.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-631@lists.php.net to get a copy of this message
baoengb Thu Jun 24 16:01:07 2004 EDT Added files: /phpdoc-es/reference/zlib configure.xml constants.xml ini.xml /phpdoc-es/reference/zlib/functions gzcompress.xml gzdeflate.xml gzencode.xml gzinflate.xml gzuncompress.xml zlib-get-coding-type.xml Modified files: /phpdoc-es translation.xml /phpdoc-es/reference/zlib/functions gzclose.xml gzeof.xml gzgetc.xml gzgets.xml gzgetss.xml gzread.xml gzrewind.xml gzseek.xml Log: - Agregando archivos traducidos - Adoptando algunos archivos de zlib

http://cvs.php.net/diff.php/phpdoc-es/translation.xml?r1=1.155&r2=1.156&ty=u Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.155 phpdoc-es/translation.xml:1.156 --- phpdoc-es/translation.xml:1.155 Wed Jun 23 16:30:22 2004 +++ phpdoc-es/translation.xml Thu Jun 24 16:01:05 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.155 $ --> +<!-- $Revision: 1.156 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -150,33 +150,6 @@ <file name="language/oop.xml" person="lboshell" type="review" date="03.06.2004" /> - - <file name="zlib/ini.xml" person="baoengb" - type="translation" date="22.06.2004" /> - - <file name="zlib/configure.xml" person="baoengb" - type="translation" date="22.06.2004" /> - - <file name="zlib/constants.xml" person="baoengb" - type="translation" date="22.06.2004" /> - - <file name="zlib/functions/gzcompress.xml" person="baoengb" - type="translation" date="22.06.2004" /> - - <file name="zlib/functions/gzdeflate.xml" person="baoengb" - type="translation" date="22.06.2004" /> - - <file name="zlib/functions/gzencode.xml" person="baoengb" - type="translation" date="22.06.2004" /> - - <file name="zlib/functions/gzinflate.xml" person="baoengb" - type="translation" date="22.06.2004" /> - - <file name="zlib/functions/gzuncompress.xml" person="baoengb" - type="translation" date="22.06.2004" /> - - <file name="zlib/functions/zlib-get-coding-type.xml" person="baoengb" - type="translation" date="22.06.2004" /> </work-in-progress> </translation> http://cvs.php.net/diff.php/phpdoc-es/reference/zlib/functions/gzclose.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/zlib/functions/gzclose.xml diff -u phpdoc-es/reference/zlib/functions/gzclose.xml:1.1 phpdoc-es/reference/zlib/functions/gzclose.xml:1.2 --- phpdoc-es/reference/zlib/functions/gzclose.xml:1.1 Sun Apr 14 20:21:40 2002 +++ phpdoc-es/reference/zlib/functions/gzclose.xml Thu Jun 24 16:01:06 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./es/functions/zlib.xml, last change in rev 1.1 --> <!-- last change to 'gzclose' in en/ tree in rev 1.2 --> +<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <refentry id="function.gzclose"> <refnamediv> <refname>gzclose</refname> http://cvs.php.net/diff.php/phpdoc-es/reference/zlib/functions/gzeof.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/zlib/functions/gzeof.xml diff -u phpdoc-es/reference/zlib/functions/gzeof.xml:1.1 phpdoc-es/reference/zlib/functions/gzeof.xml:1.2 --- phpdoc-es/reference/zlib/functions/gzeof.xml:1.1 Sun Apr 14 20:21:40 2002 +++ phpdoc-es/reference/zlib/functions/gzeof.xml Thu Jun 24 16:01:07 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./es/functions/zlib.xml, last change in rev 1.1 --> <!-- last change to 'gzeof' in en/ tree in rev 1.2 --> +<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <refentry id="function.gzeof"> <refnamediv> <refname>gzeof</refname> http://cvs.php.net/diff.php/phpdoc-es/reference/zlib/functions/gzgetc.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/zlib/functions/gzgetc.xml diff -u phpdoc-es/reference/zlib/functions/gzgetc.xml:1.1 phpdoc-es/reference/zlib/functions/gzgetc.xml:1.2 --- phpdoc-es/reference/zlib/functions/gzgetc.xml:1.1 Sun Apr 14 20:21:40 2002 +++ phpdoc-es/reference/zlib/functions/gzgetc.xml Thu Jun 24 16:01:07 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./es/functions/zlib.xml, last change in rev 1.1 --> <!-- last change to 'gzgetc' in en/ tree in rev 1.2 --> +<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <refentry id="function.gzgetc"> <refnamediv> <refname>gzgetc</refname> http://cvs.php.net/diff.php/phpdoc-es/reference/zlib/functions/gzgets.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/zlib/functions/gzgets.xml diff -u phpdoc-es/reference/zlib/functions/gzgets.xml:1.1 phpdoc-es/reference/zlib/functions/gzgets.xml:1.2 --- phpdoc-es/reference/zlib/functions/gzgets.xml:1.1 Sun Apr 14 20:21:41 2002 +++ phpdoc-es/reference/zlib/functions/gzgets.xml Thu Jun 24 16:01:07 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./es/functions/zlib.xml, last change in rev 1.1 --> <!-- last change to 'gzgets' in en/ tree in rev 1.2 --> +<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <refentry id="function.gzgets"> <refnamediv> <refname>gzgets</refname> http://cvs.php.net/diff.php/phpdoc-es/reference/zlib/functions/gzgetss.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/zlib/functions/gzgetss.xml diff -u phpdoc-es/reference/zlib/functions/gzgetss.xml:1.1 phpdoc-es/reference/zlib/functions/gzgetss.xml:1.2 --- phpdoc-es/reference/zlib/functions/gzgetss.xml:1.1 Sun Apr 14 20:21:41 2002 +++ phpdoc-es/reference/zlib/functions/gzgetss.xml Thu Jun 24 16:01:07 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./es/functions/zlib.xml, last change in rev 1.1 --> <!-- last change to 'gzgetss' in en/ tree in rev 1.2 --> +<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <refentry id="function.gzgetss"> <refnamediv> <refname>gzgetss</refname> http://cvs.php.net/diff.php/phpdoc-es/reference/zlib/functions/gzread.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/zlib/functions/gzread.xml diff -u phpdoc-es/reference/zlib/functions/gzread.xml:1.1 phpdoc-es/reference/zlib/functions/gzread.xml:1.2 --- phpdoc-es/reference/zlib/functions/gzread.xml:1.1 Sun Apr 14 20:21:42 2002 +++ phpdoc-es/reference/zlib/functions/gzread.xml Thu Jun 24 16:01:07 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./es/functions/zlib.xml, last change in rev 1.1 --> <!-- last change to 'gzread' in en/ tree in rev 1.2 --> +<!-- EN-Revision: 1.5 Maintainer: baoengb Status: ready --> <refentry id="function.gzread"> <refnamediv> <refname>gzread</refname> http://cvs.php.net/diff.php/phpdoc-es/reference/zlib/functions/gzrewind.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/zlib/functions/gzrewind.xml diff -u phpdoc-es/reference/zlib/functions/gzrewind.xml:1.1 phpdoc-es/reference/zlib/functions/gzrewind.xml:1.2 --- phpdoc-es/reference/zlib/functions/gzrewind.xml:1.1 Sun Apr 14 20:21:42 2002 +++ phpdoc-es/reference/zlib/functions/gzrewind.xml Thu Jun 24 16:01:07 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./es/functions/zlib.xml, last change in rev 1.1 --> <!-- last change to 'gzrewind' in en/ tree in rev 1.2 --> +<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <refentry id="function.gzrewind"> <refnamediv> <refname>gzrewind</refname> http://cvs.php.net/diff.php/phpdoc-es/reference/zlib/functions/gzseek.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/zlib/functions/gzseek.xml diff -u phpdoc-es/reference/zlib/functions/gzseek.xml:1.1 phpdoc-es/reference/zlib/functions/gzseek.xml:1.2 --- phpdoc-es/reference/zlib/functions/gzseek.xml:1.1 Sun Apr 14 20:21:42 2002 +++ phpdoc-es/reference/zlib/functions/gzseek.xml Thu Jun 24 16:01:07 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./es/functions/zlib.xml, last change in rev 1.1 --> <!-- last change to 'gzseek' in en/ tree in rev 1.2 --> +<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <refentry id="function.gzseek"> <refnamediv> <refname>gzseek</refname> http://cvs.php.net/co.php/phpdoc-es/reference/zlib/configure.xml?r=1.1&p=1 Index: phpdoc-es/reference/zlib/configure.xml +++ phpdoc-es/reference/zlib/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <section id="zlib.installation"> &reftitle.install; <para> Soporte Zlib en PHP no est&aacute; activo por defecto. Usted necesitar&aacute; configurar PHP <option role="configure">--with-zlib[=DIR]</option> </para> &windows.builtin; <note> <simpara> soporte integrado para zlib en Windows est&aacute; disponible con PHP 4.3.0 </simpara> </note> </section> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/zlib/constants.xml?r=1.1&p=1 Index: phpdoc-es/reference/zlib/constants.xml +++ phpdoc-es/reference/zlib/constants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: baoengb Status: ready --> <section id="zlib.constants"> &reftitle.constants; &extension.constants; <variablelist> <varlistentry> <term> <constant>FORCE_GZIP</constant> (<type>entero</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>FORCE_DEFLATE</constant> (<type>entero</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> </variablelist> </section> <!-- 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: --> http://cvs.php.net/co.php/phpdoc-es/reference/zlib/ini.xml?r=1.1&p=1 Index: phpdoc-es/reference/zlib/ini.xml +++ phpdoc-es/reference/zlib/ini.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <section id="zlib.configuration"> &reftitle.runtime; &extension.runtime; <para> La extensi&oacute;n de zlib ofrece la opci&oacute;n de comprimir transparentemente tus p&aacute;ginas web al vuelo, si el navegador de internet soporta esto. Por lo tanto hay tres opciones en el <link linkend="configuration.file"> archivo de configuraci&oacute;n</link> &php.ini;. <table> <title>Opciones de configuraci&oacute;n Zlib</title> <tgroup cols="3"> <thead> <row> <entry>Nombre</entry> <entry>Valor por Defecto</entry> <entry>Modificable</entry> </row> </thead> <tbody> <row> <entry>zlib.output_compression</entry> <entry>"Off"</entry> <entry>PHP_INI_ALL</entry> </row> <row> <entry>zlib.output_compression_level</entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> </row> <row> <entry>zlib.output_handler</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> </row> </tbody> </tgroup> </table> Para m&aacute;s detalles y definiciones de las constantes PHP_INI_* vea <function>ini_set</function>. </para> &ini.descriptions.title; <para> <variablelist> <varlistentry id="ini.zlib.output-compression"> <term> <parameter>zlib.output_compression</parameter> <type>boolean</type>/<type>integer</type> </term> <listitem> <para> Si se desea comprimir p&aacute;ginas transparentemente. Si esta opci&oacute;n est&aacute; en "On" en &php.ini; o en la configuraci&oacute;n del Apache, las p&aacute;ginas son comprimidas si el navegador env&iacute;a un encabezado "Accept-Encoding: gzip" o "deflate". "Content-Encoding: gzip" (respectivamente "deflate") y "Vary: Accept-Encoding", los encabezados son agregados a la salida. </para> <para> Esta opci&oacute;n tambi&eacute;n acepta valores enteros en vez de los boleanos "On"/"Off", usando esto usted puede fijar el tama&ntilde;o del buffer de salida (default es 4KB). </para> <note> <para> <link linkend="ini.output-handler">output_handler</link> debe estar vac&iacute;o si est&aacute; puesto en 'On' en lugar de este usted debe usar zlib.output_handler. </para> </note> </listitem> </varlistentry> <varlistentry id="ini.zlib.output-compression-level"> <term> <parameter>zlib.output_compression_level</parameter> <type>entero</type> </term> <listitem> <para> El nivel de compresi&oacute;n usado para la salida transparentemente comprimida. </para> </listitem> </varlistentry> <varlistentry id="ini.zlib.output-handler"> <term> <parameter>zlib.output_handler</parameter> <type>cadena</type> </term> <listitem> <para> Usted no puede especificar manejadores adicionales de salida si zlib.output_compression est&aacute; activada. Estos ajustes no son lo mismo que <link linkend="ini.output-handler">output_handler</link> sino un diferente orden. </para> </listitem> </varlistentry> </variablelist> </para> </section> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/zlib/functions/gzcompress.xml?r=1.1&p=1 Index: phpdoc-es/reference/zlib/functions/gzcompress.xml +++ phpdoc-es/reference/zlib/functions/gzcompress.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/zlib.xml, last change in rev 1.4 --> <refentry id="function.gzcompress"> <refnamediv> <refname>gzcompress</refname> <refpurpose>Comprime una cadena</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>cadena</type><methodname>gzcompress</methodname> <methodparam><type>cadena</type><parameter>datos</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>nivel</parameter></methodparam> </methodsynopsis> <para> Esta funci&oacute;n regresa una versi&oacute;n comprimida de la entrada de <parameter>datos</parameter> usando el formato de datos ZLIB, o &false; si ha ocurrido un error. Al par&aacute;metro opcional <parameter>nivel</parameter> se le puede dar 0 para no compresi&oacute;n hasta 9 para maxima compresi&oacute;n. </para> <para> Para m&aacute;s detalles sobre el algoritmo de compresi&oacute;n ZLIB vea el documento "<ulink url="&url.rfc;1950">ZLIB Compressed Data Format Specification version 3.3</ulink>" (RFC 1950). </para> <note> <para> Esto <emphasis>no</emphasis> es lo mismo que la compresi&oacute;n GZIP, la cu&aacute;l incluye algunos datos de encabezado. Vea <function>gzencode</function> para compresi&oacute;n gzip. </para> </note> <para> Vea tambi&eacute;n <function>gzdeflate</function>, <function>gzinflate</function>, <function>gzuncompress</function>, <function>gzencode</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 --> http://cvs.php.net/co.php/phpdoc-es/reference/zlib/functions/gzdeflate.xml?r=1.1&p=1 Index: phpdoc-es/reference/zlib/functions/gzdeflate.xml +++ phpdoc-es/reference/zlib/functions/gzdeflate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/zlib.xml, last change in rev 1.11 --> <refentry id="function.gzdeflate"> <refnamediv> <refname>gzdeflate</refname> <refpurpose>Desinfla una cadena</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>cadena</type><methodname>gzdeflate</methodname> <methodparam><type>cadena</type><parameter>datos</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>nivel</parameter></methodparam> </methodsynopsis> <para> Esta funci&oacute;n regresa una versi&oacute;n comprimida de la entrada <parameter>datos</parameter> usando el formato de datos DEFLATE, o &false; si se encuentra un error. El par&aacute;metro opcional <parameter>nivel</parameter> se le puede dar 0 para no comprimir hasta 9 para maxima compresi&oacute;n. Si <parameter>nivel</parameter> no es dado, el valor por defecto del nivel de compresi&oacute;n ser&aacute; el nivel por defecto de la libreria zlib. </para> <para> Para m&aacute;s detalles sobre el algoritmo de compresi&oacute; DEFLATE vea el documento "<ulink url="&url.rfc;1951">DEFLATE Compressed Data Format Specification version 1.3</ulink>" (RFC 1951). </para> <para> Vea tambi&eacute;n <function>gzinflate</function>, <function>gzcompress</function>, <function>gzuncompress</function>, <function>gzencode</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 --> http://cvs.php.net/co.php/phpdoc-es/reference/zlib/functions/gzencode.xml?r=1.1&p=1 Index: phpdoc-es/reference/zlib/functions/gzencode.xml +++ phpdoc-es/reference/zlib/functions/gzencode.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/zlib.xml, last change in rev 1.4 --> <refentry id="function.gzencode"> <refnamediv> <refname>gzencode</refname> <refpurpose>Crea una cadena comprimida gzip</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>cadena</type><methodname>gzencode</methodname> <methodparam><type>cadena</type><parameter>datos</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>nivel</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>encoding_mode</parameter></methodparam> </methodsynopsis> <para> Esta funci&oacute;n regresa una versi&oacute;n comprimida de los datos de entrada en <parameter>datos</parameter> compatibles con la salida del programa <command>gzip</command>, o &false; si se encuentra un error. El par&aacute;metro opcional <parameter>nivel</parameter> puede recibir 0 para no compresi&onacute;n hasta 9 para maxima compresi&oacute;n, si no se da este par&aacute;metro el valor por defecto ser&aacute; el nivel por defecto de la libreria zlib. </para> <para> Usted tambi&eacute;n puede dar <constant>FORCE_GZIP</constant> (por defecto) o <constant>FORCE_DEFLATE</constant> como el valor del tercer par&aacute;metro opcional <parameter>encoding_mode</parameter>. Si usted usa <constant>FORCE_DEFLATE</constant>, obtendr&aacute; una cadena est&aacute;ndar zlib "desinflada" (incluyendo encabezados zlib) despu&eacute;s de los encabezados del archivo gzip pero sin el chequeo de redundancia c&iacute;clica crc32. <note> <para> <parameter>nivel</parameter> fue agregado en PHP 4.2, antes PHP 4.2 <function>gzencode</function> solo ten&iacute;a los par&aacute;metros <parameter>datos</parameter> y (optcional) <parameter>encoding_mode</parameter>. </para> </note> </para> <para> Los datos resultantes contienen los encabezados con la estructura apropiada para ser un archivo .gz est&aacute;ndar, ej.: <example> <title>Creando un archivo gzip</title> <programlisting role="php"> <![CDATA[ <?php $data = implode("", file("bigfile.txt")); $gzdata = gzencode($data, 9); $fp = fopen("bigfile.txt.gz", "w"); fwrite($fp, $gzdata); fclose($fp); ?> ]]> </programlisting> </example> </para> <para> Para m&aacute;s informaci&oacute;n sobre el formato de archivos GZIP, seva el documento: <ulink url="&url.rfc;1952">GZIP file format specification version 4.3</ulink> (RFC 1952). </para> <para> Vea tambi&eacute;n <function>gzcompress</function>, <function>gzuncompress</function>, <function>gzdeflate</function>, <function>gzinflate</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 --> http://cvs.php.net/co.php/phpdoc-es/reference/zlib/functions/gzinflate.xml?r=1.1&p=1 Index: phpdoc-es/reference/zlib/functions/gzinflate.xml +++ phpdoc-es/reference/zlib/functions/gzinflate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/zlib.xml, last change in rev 1.11 --> <refentry id="function.gzinflate"> <refnamediv> <refname>gzinflate</refname> <refpurpose>Infla una cadena desinflada</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>cadena</type><methodname>gzinflate</methodname> <methodparam><type>cadena</type><parameter>datos</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>longitud</parameter></methodparam> </methodsynopsis> <para> Esta funci&oacute;n toma los <parameter>datos</parameter> comprimidos por <function>gzdeflate</function> y regresa los datos originales sin comprimir o &false; en caso de error. La funci&oacute;n regresar&aacute; un error si los datos ya descomprimidos son mas de 32768 veces la longitud de los datos comprimidos en <parameter>datos</parameter> o m&aacute;s de el valor del par&aacute;metro opcional <parameter>longitud</parameter>. </para> <para> Vea tambi&eacute;n <function>gzcompress</function>, <function>gzuncompress</function>, <function>gzdeflate</function>, <function>gzencode</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 --> http://cvs.php.net/co.php/phpdoc-es/reference/zlib/functions/gzuncompress.xml?r=1.1&p=1 Index: phpdoc-es/reference/zlib/functions/gzuncompress.xml +++ phpdoc-es/reference/zlib/functions/gzuncompress.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/zlib.xml, last change in rev 1.11 --> <refentry id="function.gzuncompress"> <refnamediv> <refname>gzuncompress</refname> <refpurpose>Descomprime una cadena desinflada</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>cadena</type><methodname>gzuncompress</methodname> <methodparam><type>cadena</type><parameter>datos</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>longitud</parameter></methodparam> </methodsynopsis> <para> Esta funci&oacute;n toma los <parameter>datos</parameter> comprimidos por <function>gzcompress</function> y regresa los datos originales sin comprimir o &false; en caso de error. La funci&oacute;n regresar&aacute; un error si los datos descomprimidos es mayor que 32768 veces la longitud de la entrada comprimida <parameter>datos</parameter> o m&aacute;s del valor del par&aacute;metro opcional <parameter>longitud</parameter>. </para> <para> Vea tambi&eacute;n <function>gzdeflate</function>, <function>gzinflate</function>, <function>gzcompress</function>, <function>gzencode</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 --> http://cvs.php.net/co.php/phpdoc-es/reference/zlib/functions/zlib-get-coding-type.xml?r=1.1&p=1 Index: phpdoc-es/reference/zlib/functions/zlib-get-coding-type.xml +++ phpdoc-es/reference/zlib/functions/zlib-get-coding-type.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: baoengb Status: ready --> <refentry id="function.zlib-get-coding-type"> <refnamediv> <refname>zlib_get_coding_type</refname> <refpurpose>Regresa el tipo de codificaci&oacute;n usado para la salida de la compresi&oacute;n</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>cadena</type><methodname>zlib_get_coding_type</methodname> <void /> </methodsynopsis> <para> Regresa el tipo de codificaci&oacute;n usada para la salida de la compresi&oacute;n. Los valores posibles que regresa son <literal>gzip</literal>, <literal>deflate</literal>, o &false; </para> <para> Vea tambi&eacute;n la directiva <link linkend="ini.zlib.output-compression"> zlib.output_compression</link>. </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.es (#631) next »