cvs: phpdoc-es / translation.xml /appendices migration4.xml transports.xml /reference/errorfunc ini.xml /reference/filesystem/functions fnmatch.xml
/reference/http/functions headers-sent.xml /reference/info constants.xml /reference/info/functions dl.xml /reference/session ini.xml
/reference/sockets reference.xml /reference/stream/functions stream-get-contents.xml stream-get-filters.xml stream-get-line.xml
stream-get-meta-data.xml stream-get-transports.xml stream-get-wrappers.xml /reference/strings/functions html-entity-decode.xml /security index.xml
| From: | Leonardo Boshell | Date: | Mon, 22 Dec 2003 06:21:47 +0000 |
| Subject: | cvs: phpdoc-es / translation.xml /appendices migration4.xml transports.xml /reference/errorfunc ini.xml /reference/filesystem/functions fnmatch.xml /reference/http/functions headers-sent.xml /reference/info constants.xml /reference/info/functions dl.xml /reference/session ini.xml /reference/sockets reference.xml /reference/stream/functions stream-get-contents.xml stream-get-filters.xml stream-get-line.xml stream-get-meta-data.xml stream-get-transports.xml stream-get-wrappers.xml /reference/strings/functions html-entity-decode.xml /security index.xml |
||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-454@lists.php.net to get a copy of this message | ||
lboshell Mon Dec 22 01:21:47 2003 EDT
Added files:
/phpdoc-es/reference/stream/functions stream-get-contents.xml
stream-get-filters.xml
stream-get-line.xml
stream-get-meta-data.xml
stream-get-transports.xml
stream-get-wrappers.xml
Modified files:
/phpdoc-es translation.xml
/phpdoc-es/appendices migration4.xml transports.xml
/phpdoc-es/reference/errorfunc ini.xml
/phpdoc-es/reference/filesystem/functions fnmatch.xml
/phpdoc-es/reference/http/functions headers-sent.xml
/phpdoc-es/reference/info constants.xml
/phpdoc-es/reference/info/functions dl.xml
/phpdoc-es/reference/session ini.xml
/phpdoc-es/reference/sockets reference.xml
/phpdoc-es/reference/strings/functions html-entity-decode.xml
/phpdoc-es/security index.xml
Log:
Actualizaciones. Nuevos archivos de reference/stream.
Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.107 phpdoc-es/translation.xml:1.108 --- phpdoc-es/translation.xml:1.107 Fri Dec 19 00:17:56 2003 +++ phpdoc-es/translation.xml Mon Dec 22 01:21:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.107 $ --> +<!-- $Revision: 1.108 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -45,12 +45,6 @@ <file name="reference/errorfunc/functions/set-error-handler.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/trigger-error.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/user-error.xml" person="javi" type="translation" date="01.12.2003"/> -<file name="reference/stream/functions/stream-get-contents.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-filters.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-line.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-meta-data.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-transports.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-wrappers.xml" person="lboshell" type="translation" date="16.12.2003"/> <file name="reference/stream/functions/stream-register-wrapper.xml" person="lboshell" type="translation" date="16.12.2003"/> <file name="reference/stream/functions/stream-select.xml" person="lboshell" type="translation" date="16.12.2003"/> <file name="reference/stream/functions/stream-set-blocking.xml" person="lboshell" type="translation" date="16.12.2003"/> Index: phpdoc-es/appendices/migration4.xml diff -u phpdoc-es/appendices/migration4.xml:1.2 phpdoc-es/appendices/migration4.xml:1.3 --- phpdoc-es/appendices/migration4.xml:1.2 Fri Dec 19 03:03:42 2003 +++ phpdoc-es/appendices/migration4.xml Mon Dec 22 01:21:37 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.34 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.35 Maintainer: lboshell Status: ready --> <appendix id="migration4"> <title>Migración de PHP 3 a PHP 4</title> @@ -40,7 +40,7 @@ <listitem><simpara>FreeBSD (se ha probado con 3.2, 4.0)</simpara></listitem> </itemizedlist> <para> -Para habilitarlo, configure PHP3 y PHP4 para que usen APXS +Para habilitarlo, configure PHP 3 y PHP 4 para que usen APXS (--with-apxs) y las extensiones de enlace necesarias (--enable-versioning). Por lo demás, todas las instrucciones de instalación estándar se aplican. Por ejemplo: Index: phpdoc-es/appendices/transports.xml diff -u phpdoc-es/appendices/transports.xml:1.2 phpdoc-es/appendices/transports.xml:1.3 --- phpdoc-es/appendices/transports.xml:1.2 Mon Dec 15 01:45:12 2003 +++ phpdoc-es/appendices/transports.xml Mon Dec 22 01:21:37 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <appendix id="transports"> <title>Lista de Transportes de Sockets Soportados</title> <para> @@ -184,7 +184,7 @@ </section> <section id="transports.unix"> - <title>Dominio Unix: UNIX y UDG</title> + <title>Dominio Unix: Unix y UDG</title> <simpara> <literal>unix://</literal> a partir de <literal>PHP 3</literal>, <literal>udg://</literal> a partir de <literal>PHP 5</literal> @@ -197,13 +197,13 @@ <simpara> <literal>unix://</literal> provee acceso a una conexión -secuencial de sockets en el dominio unix. <literal>udg://</literal> -provee un transporte alternativo a un socket del dominio unix, usando +secuencial de sockets en el dominio Unix. <literal>udg://</literal> +provee un transporte alternativo a un socket del dominio Unix, usando el protocolo de datagramas de usuario. </simpara> <simpara> -Los sockets de Dominio Unix, a diferencia de los sockets del Dominio +Los sockets de dominio Unix, a diferencia de los sockets del dominio de Internet, no esperan un número de puerto. En el caso de <function>fsockopen</function>, el parámetro <parameter>num_puerto</parameter> debe ser definido Index: phpdoc-es/reference/errorfunc/ini.xml diff -u phpdoc-es/reference/errorfunc/ini.xml:1.4 phpdoc-es/reference/errorfunc/ini.xml:1.5 --- phpdoc-es/reference/errorfunc/ini.xml:1.4 Thu Dec 11 19:17:01 2003 +++ phpdoc-es/reference/errorfunc/ini.xml Mon Dec 22 01:21:37 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.17 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.19 Maintainer: lboshell Status: ready --> <section id="errorfunc.configuration"> &reftitle.runtime; &extension.runtime; @@ -318,7 +318,7 @@ <listitem> <para> Permite deshabilitar las etiquetas HTML en los mensajes de - error. El nuevo formato para los errores en html produce mensajes + error. El nuevo formato para los errores en HTML produce mensajes con enlaces que dirigen al usuario a una página que describe el error o función que ha causado el error. Estas referencias son afectadas por <link @@ -420,7 +420,7 @@ Nombre del archivo en donde deberían registrarse los errores del script. Si se utiliza el valor especial <literal>syslog</literal>, los errores son enviados al gestor de - registros del sistema. En UNIX, esto quiere decir syslog(3) y en + registros del sistema. En Unix, esto quiere decir syslog(3) y en Windows NT quiere decir el "event log". El gestor de registro de actividades no está soportado bajo Windows 95. Vea también: <function>syslog</function>. Index: phpdoc-es/reference/filesystem/functions/fnmatch.xml diff -u phpdoc-es/reference/filesystem/functions/fnmatch.xml:1.3 phpdoc-es/reference/filesystem/functions/fnmatch.xml:1.4 --- phpdoc-es/reference/filesystem/functions/fnmatch.xml:1.3 Wed Dec 17 23:38:34 2003 +++ phpdoc-es/reference/filesystem/functions/fnmatch.xml Mon Dec 22 01:21:38 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <refentry id="function.fnmatch"> <refnamediv> <refname>fnmatch</refname> Index: phpdoc-es/reference/http/functions/headers-sent.xml diff -u phpdoc-es/reference/http/functions/headers-sent.xml:1.2 phpdoc-es/reference/http/functions/headers-sent.xml:1.3 --- phpdoc-es/reference/http/functions/headers-sent.xml:1.2 Mon Dec 15 23:43:29 2003 +++ phpdoc-es/reference/http/functions/headers-sent.xml Mon Dec 22 01:21:39 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.14 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.15 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/http.xml, last change in rev 1.7 --> <refentry id="function.headers-sent"> <refnamediv> @@ -21,7 +21,7 @@ parámetros opcionales <parameter>archivo</parameter> y <parameter>linea</parameter> son definidos, <function>headers_sent</function> colocará el nombre -de archivo y número de línea de las fuentes php en donde +de archivo y número de línea de las fuentes PHP en donde inició la salida en las variables <parameter>archivo</parameter> y <parameter>linea</parameter>. Index: phpdoc-es/reference/info/constants.xml diff -u phpdoc-es/reference/info/constants.xml:1.1 phpdoc-es/reference/info/constants.xml:1.2 --- phpdoc-es/reference/info/constants.xml:1.1 Mon Dec 1 20:52:27 2003 +++ phpdoc-es/reference/info/constants.xml Mon Dec 22 01:21:40 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <section id="info.constants"> &reftitle.constants; &extension.constants.core; @@ -114,7 +114,7 @@ <entry>INFO_CONFIGURATION</entry> <entry>4</entry> <entry> - Valores Locales y Maestros actuales de las directivas php. Vea + Valores Locales y Maestros actuales de las directivas PHP. Vea también <function>ini_get</function>. </entry> </row> Index: phpdoc-es/reference/info/functions/dl.xml diff -u phpdoc-es/reference/info/functions/dl.xml:1.3 phpdoc-es/reference/info/functions/dl.xml:1.4 --- phpdoc-es/reference/info/functions/dl.xml:1.3 Thu Dec 18 20:59:13 2003 +++ phpdoc-es/reference/info/functions/dl.xml Mon Dec 22 01:21:40 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.15 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.29 --> <refentry id="function.dl"> <refnamediv> Index: phpdoc-es/reference/session/ini.xml diff -u phpdoc-es/reference/session/ini.xml:1.1 phpdoc-es/reference/session/ini.xml:1.2 --- phpdoc-es/reference/session/ini.xml:1.1 Tue Dec 9 21:12:42 2003 +++ phpdoc-es/reference/session/ini.xml Mon Dec 22 01:21:41 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.17 Maintainer: lboshell Status: ready --> <section id="session.configuration"> &reftitle.runtime; &extension.runtime; @@ -570,7 +570,7 @@ <listitem> <simpara> <literal>url_rewriter.tags</literal> especifica cuáles -etiquetas html son rescritas para incluir la id de sesión si el +etiquetas HTML son rescritas para incluir la id de sesión si el soporte transparente de sids se encuentra habilitado. Su valor predeterminado es <literal>a=href,area=href,frame=src,input=src,form=fakeentry,fieldset=</literal>. Index: phpdoc-es/reference/sockets/reference.xml diff -u phpdoc-es/reference/sockets/reference.xml:1.4 phpdoc-es/reference/sockets/reference.xml:1.5 --- phpdoc-es/reference/sockets/reference.xml:1.4 Fri Dec 19 16:18:30 2003 +++ phpdoc-es/reference/sockets/reference.xml Mon Dec 22 01:21:42 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.17 Maintainer: lboshell Status: ready --> <reference id="ref.sockets"> <title>Funciones de Socket</title> <titleabbrev>Sockets</titleabbrev> @@ -38,7 +38,7 @@ programación de sockets en C en la web, mucha de la cual puede aplicarse, con ligeras modificaciones, a la programación de sockets en PHP. El <ulink url="&url.socket.faq;">FAQ de Sockets -UNIX</ulink> puede ser un buen comienzo. +Unix</ulink> puede ser un buen comienzo. </para> &warn.experimental; </section> Index: phpdoc-es/reference/strings/functions/html-entity-decode.xml diff -u phpdoc-es/reference/strings/functions/html-entity-decode.xml:1.2 phpdoc-es/reference/strings/functions/html-entity-decode.xml:1.3 --- phpdoc-es/reference/strings/functions/html-entity-decode.xml:1.2 Mon Dec 15 23:43:38 2003 +++ phpdoc-es/reference/strings/functions/html-entity-decode.xml Mon Dec 22 01:21:44 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.html-entity-decode"> <refnamediv> @@ -66,7 +66,7 @@ &reference.strings.charsets; <para> <example> - <title>Decodificación de entidades html</title> + <title>Decodificación de entidades HTML</title> <programlisting role="php"> <![CDATA[ <?php Index: phpdoc-es/security/index.xml diff -u phpdoc-es/security/index.xml:1.6 phpdoc-es/security/index.xml:1.7 --- phpdoc-es/security/index.xml:1.6 Fri Dec 19 00:17:58 2003 +++ phpdoc-es/security/index.xml Mon Dec 22 01:21:47 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.63 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.65 Maintainer: lboshell Status: ready --> <chapter id="security.index"> <title>Seguridad</title> @@ -1227,7 +1227,7 @@ Cuando se encuentra activa, la directiva register_globals inyectará (o envenenará) sus scripts con todo tipo de variables, como variables de peticiones provenientes de formularios -html. Esto junto con el hecho de que PHP no requiere la +HTML. Esto junto con el hecho de que PHP no requiere la inicialización de variables significa que es muy fácil escribir código inseguro. Fue una decisión difícil, pero la comunidad de PHP decidió desahibilar @@ -1503,14 +1503,14 @@ ]]> </programlisting> </example> -O escóndalo como código html, lo que tiene un -pequeño impacto de rendimiento ya que todos los documentos html +O escóndalo como código HTML, lo que tiene un +pequeño impacto de rendimiento ya que todos los documentos HTML serán procesados por el motor de PHP: <example> - <title>Uso de tipos html para extensiones PHP</title> + <title>Uso de tipos HTML para extensiones PHP</title> <programlisting role="apache-conf"> <![CDATA[ -# Hacer que todo el codigo PHP luzca como html +# Hacer que todo el codigo PHP luzca como HTML AddType application/x-httpd-php .htm .html ]]> </programlisting> Index: phpdoc-es/reference/stream/functions/stream-get-contents.xml +++ phpdoc-es/reference/stream/functions/stream-get-contents.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-contents"> <refnamediv> <refname>stream_get_contents</refname> <refpurpose>Lee el resto de una secuencia en una cadena</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>stream_get_contents</methodname> <methodparam><type>resource</type><parameter>gestor</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>longitud_maxima</parameter></methodparam> </methodsynopsis> <para> Función idéntica a <function>file_get_contents</function>, excepto que <function>stream_get_contents</function> opera en un recurso de archivo ya abierto y devuelve el contenido restante, hasta un máximo de <parameter>longitud_maxima</parameter> bytes, en una cadena. </para> ¬e.bin-safe; <simpara> Vea también: <function>fgets</function>, <function>fread</function>, y <function>fpassthru</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 --> Index: phpdoc-es/reference/stream/functions/stream-get-filters.xml +++ phpdoc-es/reference/stream/functions/stream-get-filters.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-filters"> <refnamediv> <refname>stream_get_filters</refname> <refpurpose>Recuperar la lista de filtros registrados</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>stream_get_filters</methodname> <void/> </methodsynopsis> <simpara> Devuelve una matriz indexada que contiene el nombre de todos los filtros de secuencia disponibles en el sistema actual. </simpara> <para> <example> <title>Uso de <function>stream_get_filters</function></title> <programlisting role="php"> <![CDATA[ <?php $lista_de_secuencias = stream_get_filters(); print_r($lista_de_secuencias); ?> ]]> </programlisting> <para> La salida será similar a la siguiente. Nota: pueden haber más o menos filtros en su versión de PHP. </para> <screen> <![CDATA[ Array ( [0] => string.rot13 [1] => string.toupper [2] => string.tolower [3] => string.base64 [4] => string.quoted-printable ) ]]> </screen> </example> </para> <para> Vea también <function>stream_filter_register</function>, y <function>stream_get_wrappers</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 --> Index: phpdoc-es/reference/stream/functions/stream-get-line.xml +++ phpdoc-es/reference/stream/functions/stream-get-line.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-line"> <refnamediv> <refname>stream_get_line</refname> <refpurpose>Obtiene una línea desde un recurso de secuencia, hasta un delimitador dado</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>stream_get_line</methodname> <methodparam><type>resource</type><parameter>gestor</parameter></methodparam> <methodparam><type>int</type><parameter>longitud</parameter></methodparam> <methodparam><type>string</type><parameter>final</parameter></methodparam> </methodsynopsis> <para> Devuelve una cadena de hasta <parameter>longitud</parameter> bytes leidos desde el archivo apuntado por <parameter>gestor</parameter>. La lectura finaliza cuando <parameter>longitud</parameter> bytes han sido leidos, cuando la cadena especificado por <parameter>final</parameter> es encontrada (la cual <emphasis>no</emphasis> es incluida en el valor de retorno), o al llegar al final del archivo, EOF, (lo que ocurra primero). </para> <para> Si ocurre un error, devuelve &false;. </para> <simpara> Esta función es casi idéntica a <function>fgets</function>, excepto que permite el uso de delimitadores de línea diferentes a los estándar \n, \r, y \r\n, y <emphasis>no</emphasis> devuelve el delimitador mismo. </simpara> <para> Vea también <function>fread</function>, <function>fgets</function>, y <function>fgetc</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 --> Index: phpdoc-es/reference/stream/functions/stream-get-meta-data.xml +++ phpdoc-es/reference/stream/functions/stream-get-meta-data.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-meta-data"> <refnamediv> <refname>stream_get_meta_data</refname> <refpurpose>Recupera meta datos/cabeceras desde apuntadores a secuencias/archivos</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>stream_get_meta_data</methodname> <methodparam><type>resource</type><parameter>secuencia</parameter></methodparam> </methodsynopsis> <simpara> Devuelve información sobre una <parameter>secuencia</parameter> existente. La secuencia puede ser cualquiera creada por <function>fopen</function>, <function>fsockopen</function> y <function>pfsockopen</function>. La matriz resultante contiene los siguientes items: </simpara> <itemizedlist> <listitem> <para> <parameter>timed_out</parameter> (bool) - &true; si la secuencia ha superado el tiempo de espera máximo mientras esperaba datos en el último llamado a <function>fread</function> o <function>fgets</function>. </para> </listitem> <listitem> <para> <parameter>blocked</parameter> (bool) - &true; si la secuencia se encuentra en modo de bloqueo de E/S. Vea <function>socket_set_blocking</function>. </para> </listitem> <listitem> <para> <parameter>eof</parameter> (bool) - &true; si la secuencia ha alcanzado el final del archivo. Note que para secuencias de socket, este miembro puede ser &true; incluso cuando <parameter>unread_bytes</parameter> es diferente de cero. Para determinar si hay más datos para ser leidos, use <function>feof</function> en lugar de leer este item. </para> </listitem> <listitem> <para> <parameter>unread_bytes</parameter> (int) - el número de bytes contenidos actualmente en el búfer de lectura. </para> </listitem> </itemizedlist> <simpara> Los siguientes items fueron agregados en PHP 4.3: </simpara> <itemizedlist> <listitem> <para> <parameter>stream_type</parameter> (string) - una etiqueta que decribe la implementación de bajo nivel de la secuencia. </para> </listitem> <listitem> <para> <parameter>wrapper_type</parameter> (string) - una etiqueta que describe la implementación de envoltura de protocolo que cubre a la secuencia. Vea <xref linkend="wrappers"/> para más información sobre las envolturas. </para> </listitem> <listitem> <para> <parameter>wrapper_data</parameter> (mixed) - datos específicos de envoltura adjuntos a esta secuencia. Vea <xref linkend="wrappers"/> para más información sobre las envolturas y sus datos de envoltura. </para> </listitem> <listitem> <para> <parameter>filters</parameter> (array) - una matriz que contiene los nombres de cualquier filtro que esté apilado para esta secuencia. Los filtros en la actualidad carecen de documentación. </para> </listitem> </itemizedlist> <note> <para> Esta función fue introducida en PHP 4.3, pero anteriormente, <function>socket_get_status</function> podía ser usado para recuperar los primeros cuatro items, para <emphasis>secuencias basadas en sockets únicamente</emphasis>. </para> <para> En PHP 4.3 y versiones posteriores, <function>socket_get_status</function> es un alias de esta función. </para> </note> <note> <simpara> Esta función NO trabaja sobre sockets creados por la <link linkend="ref.sockets">Extensión de sockets</link>. </simpara> </note> </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 --> Index: phpdoc-es/reference/stream/functions/stream-get-transports.xml +++ phpdoc-es/reference/stream/functions/stream-get-transports.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-transports"> <refnamediv> <refname>stream_get_transports</refname> <refpurpose>Recuperar la lista de transportes de socket registrados</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>stream_get_transports</methodname> <void/> </methodsynopsis> <simpara> Devuelve una matriz indexada que contiene los nombres de todos los transportes de socket disponibles en el sistema actual. </simpara> <para> <example> <title>Uso de <function>stream_get_transports</function></title> <programlisting role="php"> <![CDATA[ <?php $lista = stream_get_transports(); print_r($lista); ?> ]]> </programlisting> <para> La salida será similar a la siguiente. Nota: pueden haber más o menos transportes en su versión de PHP. </para> <screen> <![CDATA[ Array ( [0] => tcp [1] => udp [2] => unix [3] => udg ) ]]> </screen> </example> </para> <para> Vea también <function>stream_get_filters</function>, y <function>stream_get_wrappers</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 --> Index: phpdoc-es/reference/stream/functions/stream-get-wrappers.xml +++ phpdoc-es/reference/stream/functions/stream-get-wrappers.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-wrappers"> <refnamediv> <refname>stream_get_wrappers</refname> <refpurpose>Recuperar la lista de secuencias registradas</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>stream_get_wrappers</methodname> <void/> </methodsynopsis> <para> Devuelve una matriz indexada que contiene los nombres de todas las envolturas de secuencia disponibles en el sistema actual. </para> <para> Vea también <function>stream_wrapper_register</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 -->
Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.107 phpdoc-es/translation.xml:1.108 --- phpdoc-es/translation.xml:1.107 Fri Dec 19 00:17:56 2003 +++ phpdoc-es/translation.xml Mon Dec 22 01:21:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.107 $ --> +<!-- $Revision: 1.108 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -45,12 +45,6 @@ <file name="reference/errorfunc/functions/set-error-handler.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/trigger-error.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/user-error.xml" person="javi" type="translation" date="01.12.2003"/> -<file name="reference/stream/functions/stream-get-contents.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-filters.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-line.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-meta-data.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-transports.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-get-wrappers.xml" person="lboshell" type="translation" date="16.12.2003"/> <file name="reference/stream/functions/stream-register-wrapper.xml" person="lboshell" type="translation" date="16.12.2003"/> <file name="reference/stream/functions/stream-select.xml" person="lboshell" type="translation" date="16.12.2003"/> <file name="reference/stream/functions/stream-set-blocking.xml" person="lboshell" type="translation" date="16.12.2003"/> Index: phpdoc-es/appendices/migration4.xml diff -u phpdoc-es/appendices/migration4.xml:1.2 phpdoc-es/appendices/migration4.xml:1.3 --- phpdoc-es/appendices/migration4.xml:1.2 Fri Dec 19 03:03:42 2003 +++ phpdoc-es/appendices/migration4.xml Mon Dec 22 01:21:37 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.34 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.35 Maintainer: lboshell Status: ready --> <appendix id="migration4"> <title>Migración de PHP 3 a PHP 4</title> @@ -40,7 +40,7 @@ <listitem><simpara>FreeBSD (se ha probado con 3.2, 4.0)</simpara></listitem> </itemizedlist> <para> -Para habilitarlo, configure PHP3 y PHP4 para que usen APXS +Para habilitarlo, configure PHP 3 y PHP 4 para que usen APXS (--with-apxs) y las extensiones de enlace necesarias (--enable-versioning). Por lo demás, todas las instrucciones de instalación estándar se aplican. Por ejemplo: Index: phpdoc-es/appendices/transports.xml diff -u phpdoc-es/appendices/transports.xml:1.2 phpdoc-es/appendices/transports.xml:1.3 --- phpdoc-es/appendices/transports.xml:1.2 Mon Dec 15 01:45:12 2003 +++ phpdoc-es/appendices/transports.xml Mon Dec 22 01:21:37 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <appendix id="transports"> <title>Lista de Transportes de Sockets Soportados</title> <para> @@ -184,7 +184,7 @@ </section> <section id="transports.unix"> - <title>Dominio Unix: UNIX y UDG</title> + <title>Dominio Unix: Unix y UDG</title> <simpara> <literal>unix://</literal> a partir de <literal>PHP 3</literal>, <literal>udg://</literal> a partir de <literal>PHP 5</literal> @@ -197,13 +197,13 @@ <simpara> <literal>unix://</literal> provee acceso a una conexión -secuencial de sockets en el dominio unix. <literal>udg://</literal> -provee un transporte alternativo a un socket del dominio unix, usando +secuencial de sockets en el dominio Unix. <literal>udg://</literal> +provee un transporte alternativo a un socket del dominio Unix, usando el protocolo de datagramas de usuario. </simpara> <simpara> -Los sockets de Dominio Unix, a diferencia de los sockets del Dominio +Los sockets de dominio Unix, a diferencia de los sockets del dominio de Internet, no esperan un número de puerto. En el caso de <function>fsockopen</function>, el parámetro <parameter>num_puerto</parameter> debe ser definido Index: phpdoc-es/reference/errorfunc/ini.xml diff -u phpdoc-es/reference/errorfunc/ini.xml:1.4 phpdoc-es/reference/errorfunc/ini.xml:1.5 --- phpdoc-es/reference/errorfunc/ini.xml:1.4 Thu Dec 11 19:17:01 2003 +++ phpdoc-es/reference/errorfunc/ini.xml Mon Dec 22 01:21:37 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.17 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.19 Maintainer: lboshell Status: ready --> <section id="errorfunc.configuration"> &reftitle.runtime; &extension.runtime; @@ -318,7 +318,7 @@ <listitem> <para> Permite deshabilitar las etiquetas HTML en los mensajes de - error. El nuevo formato para los errores en html produce mensajes + error. El nuevo formato para los errores en HTML produce mensajes con enlaces que dirigen al usuario a una página que describe el error o función que ha causado el error. Estas referencias son afectadas por <link @@ -420,7 +420,7 @@ Nombre del archivo en donde deberían registrarse los errores del script. Si se utiliza el valor especial <literal>syslog</literal>, los errores son enviados al gestor de - registros del sistema. En UNIX, esto quiere decir syslog(3) y en + registros del sistema. En Unix, esto quiere decir syslog(3) y en Windows NT quiere decir el "event log". El gestor de registro de actividades no está soportado bajo Windows 95. Vea también: <function>syslog</function>. Index: phpdoc-es/reference/filesystem/functions/fnmatch.xml diff -u phpdoc-es/reference/filesystem/functions/fnmatch.xml:1.3 phpdoc-es/reference/filesystem/functions/fnmatch.xml:1.4 --- phpdoc-es/reference/filesystem/functions/fnmatch.xml:1.3 Wed Dec 17 23:38:34 2003 +++ phpdoc-es/reference/filesystem/functions/fnmatch.xml Mon Dec 22 01:21:38 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <refentry id="function.fnmatch"> <refnamediv> <refname>fnmatch</refname> Index: phpdoc-es/reference/http/functions/headers-sent.xml diff -u phpdoc-es/reference/http/functions/headers-sent.xml:1.2 phpdoc-es/reference/http/functions/headers-sent.xml:1.3 --- phpdoc-es/reference/http/functions/headers-sent.xml:1.2 Mon Dec 15 23:43:29 2003 +++ phpdoc-es/reference/http/functions/headers-sent.xml Mon Dec 22 01:21:39 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.14 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.15 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/http.xml, last change in rev 1.7 --> <refentry id="function.headers-sent"> <refnamediv> @@ -21,7 +21,7 @@ parámetros opcionales <parameter>archivo</parameter> y <parameter>linea</parameter> son definidos, <function>headers_sent</function> colocará el nombre -de archivo y número de línea de las fuentes php en donde +de archivo y número de línea de las fuentes PHP en donde inició la salida en las variables <parameter>archivo</parameter> y <parameter>linea</parameter>. Index: phpdoc-es/reference/info/constants.xml diff -u phpdoc-es/reference/info/constants.xml:1.1 phpdoc-es/reference/info/constants.xml:1.2 --- phpdoc-es/reference/info/constants.xml:1.1 Mon Dec 1 20:52:27 2003 +++ phpdoc-es/reference/info/constants.xml Mon Dec 22 01:21:40 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <section id="info.constants"> &reftitle.constants; &extension.constants.core; @@ -114,7 +114,7 @@ <entry>INFO_CONFIGURATION</entry> <entry>4</entry> <entry> - Valores Locales y Maestros actuales de las directivas php. Vea + Valores Locales y Maestros actuales de las directivas PHP. Vea también <function>ini_get</function>. </entry> </row> Index: phpdoc-es/reference/info/functions/dl.xml diff -u phpdoc-es/reference/info/functions/dl.xml:1.3 phpdoc-es/reference/info/functions/dl.xml:1.4 --- phpdoc-es/reference/info/functions/dl.xml:1.3 Thu Dec 18 20:59:13 2003 +++ phpdoc-es/reference/info/functions/dl.xml Mon Dec 22 01:21:40 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.15 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.29 --> <refentry id="function.dl"> <refnamediv> Index: phpdoc-es/reference/session/ini.xml diff -u phpdoc-es/reference/session/ini.xml:1.1 phpdoc-es/reference/session/ini.xml:1.2 --- phpdoc-es/reference/session/ini.xml:1.1 Tue Dec 9 21:12:42 2003 +++ phpdoc-es/reference/session/ini.xml Mon Dec 22 01:21:41 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.17 Maintainer: lboshell Status: ready --> <section id="session.configuration"> &reftitle.runtime; &extension.runtime; @@ -570,7 +570,7 @@ <listitem> <simpara> <literal>url_rewriter.tags</literal> especifica cuáles -etiquetas html son rescritas para incluir la id de sesión si el +etiquetas HTML son rescritas para incluir la id de sesión si el soporte transparente de sids se encuentra habilitado. Su valor predeterminado es <literal>a=href,area=href,frame=src,input=src,form=fakeentry,fieldset=</literal>. Index: phpdoc-es/reference/sockets/reference.xml diff -u phpdoc-es/reference/sockets/reference.xml:1.4 phpdoc-es/reference/sockets/reference.xml:1.5 --- phpdoc-es/reference/sockets/reference.xml:1.4 Fri Dec 19 16:18:30 2003 +++ phpdoc-es/reference/sockets/reference.xml Mon Dec 22 01:21:42 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.17 Maintainer: lboshell Status: ready --> <reference id="ref.sockets"> <title>Funciones de Socket</title> <titleabbrev>Sockets</titleabbrev> @@ -38,7 +38,7 @@ programación de sockets en C en la web, mucha de la cual puede aplicarse, con ligeras modificaciones, a la programación de sockets en PHP. El <ulink url="&url.socket.faq;">FAQ de Sockets -UNIX</ulink> puede ser un buen comienzo. +Unix</ulink> puede ser un buen comienzo. </para> &warn.experimental; </section> Index: phpdoc-es/reference/strings/functions/html-entity-decode.xml diff -u phpdoc-es/reference/strings/functions/html-entity-decode.xml:1.2 phpdoc-es/reference/strings/functions/html-entity-decode.xml:1.3 --- phpdoc-es/reference/strings/functions/html-entity-decode.xml:1.2 Mon Dec 15 23:43:38 2003 +++ phpdoc-es/reference/strings/functions/html-entity-decode.xml Mon Dec 22 01:21:44 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.html-entity-decode"> <refnamediv> @@ -66,7 +66,7 @@ &reference.strings.charsets; <para> <example> - <title>Decodificación de entidades html</title> + <title>Decodificación de entidades HTML</title> <programlisting role="php"> <![CDATA[ <?php Index: phpdoc-es/security/index.xml diff -u phpdoc-es/security/index.xml:1.6 phpdoc-es/security/index.xml:1.7 --- phpdoc-es/security/index.xml:1.6 Fri Dec 19 00:17:58 2003 +++ phpdoc-es/security/index.xml Mon Dec 22 01:21:47 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.63 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.65 Maintainer: lboshell Status: ready --> <chapter id="security.index"> <title>Seguridad</title> @@ -1227,7 +1227,7 @@ Cuando se encuentra activa, la directiva register_globals inyectará (o envenenará) sus scripts con todo tipo de variables, como variables de peticiones provenientes de formularios -html. Esto junto con el hecho de que PHP no requiere la +HTML. Esto junto con el hecho de que PHP no requiere la inicialización de variables significa que es muy fácil escribir código inseguro. Fue una decisión difícil, pero la comunidad de PHP decidió desahibilar @@ -1503,14 +1503,14 @@ ]]> </programlisting> </example> -O escóndalo como código html, lo que tiene un -pequeño impacto de rendimiento ya que todos los documentos html +O escóndalo como código HTML, lo que tiene un +pequeño impacto de rendimiento ya que todos los documentos HTML serán procesados por el motor de PHP: <example> - <title>Uso de tipos html para extensiones PHP</title> + <title>Uso de tipos HTML para extensiones PHP</title> <programlisting role="apache-conf"> <![CDATA[ -# Hacer que todo el codigo PHP luzca como html +# Hacer que todo el codigo PHP luzca como HTML AddType application/x-httpd-php .htm .html ]]> </programlisting> Index: phpdoc-es/reference/stream/functions/stream-get-contents.xml +++ phpdoc-es/reference/stream/functions/stream-get-contents.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-contents"> <refnamediv> <refname>stream_get_contents</refname> <refpurpose>Lee el resto de una secuencia en una cadena</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>stream_get_contents</methodname> <methodparam><type>resource</type><parameter>gestor</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>longitud_maxima</parameter></methodparam> </methodsynopsis> <para> Función idéntica a <function>file_get_contents</function>, excepto que <function>stream_get_contents</function> opera en un recurso de archivo ya abierto y devuelve el contenido restante, hasta un máximo de <parameter>longitud_maxima</parameter> bytes, en una cadena. </para> ¬e.bin-safe; <simpara> Vea también: <function>fgets</function>, <function>fread</function>, y <function>fpassthru</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 --> Index: phpdoc-es/reference/stream/functions/stream-get-filters.xml +++ phpdoc-es/reference/stream/functions/stream-get-filters.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-filters"> <refnamediv> <refname>stream_get_filters</refname> <refpurpose>Recuperar la lista de filtros registrados</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>stream_get_filters</methodname> <void/> </methodsynopsis> <simpara> Devuelve una matriz indexada que contiene el nombre de todos los filtros de secuencia disponibles en el sistema actual. </simpara> <para> <example> <title>Uso de <function>stream_get_filters</function></title> <programlisting role="php"> <![CDATA[ <?php $lista_de_secuencias = stream_get_filters(); print_r($lista_de_secuencias); ?> ]]> </programlisting> <para> La salida será similar a la siguiente. Nota: pueden haber más o menos filtros en su versión de PHP. </para> <screen> <![CDATA[ Array ( [0] => string.rot13 [1] => string.toupper [2] => string.tolower [3] => string.base64 [4] => string.quoted-printable ) ]]> </screen> </example> </para> <para> Vea también <function>stream_filter_register</function>, y <function>stream_get_wrappers</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 --> Index: phpdoc-es/reference/stream/functions/stream-get-line.xml +++ phpdoc-es/reference/stream/functions/stream-get-line.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-line"> <refnamediv> <refname>stream_get_line</refname> <refpurpose>Obtiene una línea desde un recurso de secuencia, hasta un delimitador dado</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>stream_get_line</methodname> <methodparam><type>resource</type><parameter>gestor</parameter></methodparam> <methodparam><type>int</type><parameter>longitud</parameter></methodparam> <methodparam><type>string</type><parameter>final</parameter></methodparam> </methodsynopsis> <para> Devuelve una cadena de hasta <parameter>longitud</parameter> bytes leidos desde el archivo apuntado por <parameter>gestor</parameter>. La lectura finaliza cuando <parameter>longitud</parameter> bytes han sido leidos, cuando la cadena especificado por <parameter>final</parameter> es encontrada (la cual <emphasis>no</emphasis> es incluida en el valor de retorno), o al llegar al final del archivo, EOF, (lo que ocurra primero). </para> <para> Si ocurre un error, devuelve &false;. </para> <simpara> Esta función es casi idéntica a <function>fgets</function>, excepto que permite el uso de delimitadores de línea diferentes a los estándar \n, \r, y \r\n, y <emphasis>no</emphasis> devuelve el delimitador mismo. </simpara> <para> Vea también <function>fread</function>, <function>fgets</function>, y <function>fgetc</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 --> Index: phpdoc-es/reference/stream/functions/stream-get-meta-data.xml +++ phpdoc-es/reference/stream/functions/stream-get-meta-data.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-meta-data"> <refnamediv> <refname>stream_get_meta_data</refname> <refpurpose>Recupera meta datos/cabeceras desde apuntadores a secuencias/archivos</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>stream_get_meta_data</methodname> <methodparam><type>resource</type><parameter>secuencia</parameter></methodparam> </methodsynopsis> <simpara> Devuelve información sobre una <parameter>secuencia</parameter> existente. La secuencia puede ser cualquiera creada por <function>fopen</function>, <function>fsockopen</function> y <function>pfsockopen</function>. La matriz resultante contiene los siguientes items: </simpara> <itemizedlist> <listitem> <para> <parameter>timed_out</parameter> (bool) - &true; si la secuencia ha superado el tiempo de espera máximo mientras esperaba datos en el último llamado a <function>fread</function> o <function>fgets</function>. </para> </listitem> <listitem> <para> <parameter>blocked</parameter> (bool) - &true; si la secuencia se encuentra en modo de bloqueo de E/S. Vea <function>socket_set_blocking</function>. </para> </listitem> <listitem> <para> <parameter>eof</parameter> (bool) - &true; si la secuencia ha alcanzado el final del archivo. Note que para secuencias de socket, este miembro puede ser &true; incluso cuando <parameter>unread_bytes</parameter> es diferente de cero. Para determinar si hay más datos para ser leidos, use <function>feof</function> en lugar de leer este item. </para> </listitem> <listitem> <para> <parameter>unread_bytes</parameter> (int) - el número de bytes contenidos actualmente en el búfer de lectura. </para> </listitem> </itemizedlist> <simpara> Los siguientes items fueron agregados en PHP 4.3: </simpara> <itemizedlist> <listitem> <para> <parameter>stream_type</parameter> (string) - una etiqueta que decribe la implementación de bajo nivel de la secuencia. </para> </listitem> <listitem> <para> <parameter>wrapper_type</parameter> (string) - una etiqueta que describe la implementación de envoltura de protocolo que cubre a la secuencia. Vea <xref linkend="wrappers"/> para más información sobre las envolturas. </para> </listitem> <listitem> <para> <parameter>wrapper_data</parameter> (mixed) - datos específicos de envoltura adjuntos a esta secuencia. Vea <xref linkend="wrappers"/> para más información sobre las envolturas y sus datos de envoltura. </para> </listitem> <listitem> <para> <parameter>filters</parameter> (array) - una matriz que contiene los nombres de cualquier filtro que esté apilado para esta secuencia. Los filtros en la actualidad carecen de documentación. </para> </listitem> </itemizedlist> <note> <para> Esta función fue introducida en PHP 4.3, pero anteriormente, <function>socket_get_status</function> podía ser usado para recuperar los primeros cuatro items, para <emphasis>secuencias basadas en sockets únicamente</emphasis>. </para> <para> En PHP 4.3 y versiones posteriores, <function>socket_get_status</function> es un alias de esta función. </para> </note> <note> <simpara> Esta función NO trabaja sobre sockets creados por la <link linkend="ref.sockets">Extensión de sockets</link>. </simpara> </note> </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 --> Index: phpdoc-es/reference/stream/functions/stream-get-transports.xml +++ phpdoc-es/reference/stream/functions/stream-get-transports.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-transports"> <refnamediv> <refname>stream_get_transports</refname> <refpurpose>Recuperar la lista de transportes de socket registrados</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>stream_get_transports</methodname> <void/> </methodsynopsis> <simpara> Devuelve una matriz indexada que contiene los nombres de todos los transportes de socket disponibles en el sistema actual. </simpara> <para> <example> <title>Uso de <function>stream_get_transports</function></title> <programlisting role="php"> <![CDATA[ <?php $lista = stream_get_transports(); print_r($lista); ?> ]]> </programlisting> <para> La salida será similar a la siguiente. Nota: pueden haber más o menos transportes en su versión de PHP. </para> <screen> <![CDATA[ Array ( [0] => tcp [1] => udp [2] => unix [3] => udg ) ]]> </screen> </example> </para> <para> Vea también <function>stream_get_filters</function>, y <function>stream_get_wrappers</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 --> Index: phpdoc-es/reference/stream/functions/stream-get-wrappers.xml +++ phpdoc-es/reference/stream/functions/stream-get-wrappers.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <refentry id="function.stream-get-wrappers"> <refnamediv> <refname>stream_get_wrappers</refname> <refpurpose>Recuperar la lista de secuencias registradas</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>stream_get_wrappers</methodname> <void/> </methodsynopsis> <para> Devuelve una matriz indexada que contiene los nombres de todas las envolturas de secuencia disponibles en el sistema actual. </para> <para> Vea también <function>stream_wrapper_register</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 -->