cvs: phpdoc-es /features error-handling.xml images.xml /reference/dl .cvsignore reference.xml /reference/dl/functions dl.xml
/reference/filesystem/functions stat.xml /reference/misc/functions iptcparse.xml leak.xml serialize.xml unserialize.xml /reference/pgsql/functions
pg-cmdtuples.xml pg-errormessage.xml pg-exec.xml pg-fieldisnull.xml pg-fieldname.xml pg-fieldnum.xml pg-fieldprtlen.xml pg-fieldsize.xml
pg-fieldtype.xml pg-freeresult.xml pg-getlastoid.xml pg-locreate.xml pg-loreadall.xml pg-lounlink.xml pg-numfields.xml pg-numrows.xml pg-result.xml
/reference/satellite .cvsignore reference.xml /reference/satellite/functions class.orbitenum.xml class.orbitobject.xml class.orbitstruct.xml
satellite-caught-exception.xml satellite-exception-id.xml satellite-exception-value.xml /reference/solid .cvsignore reference.xml
/reference/solid/functions solid-close.xml solid-connect.xml solid-exec.xml solid-fetchrow.xml solid-fieldname.xml solid-fieldnum.xml
solid-freeresult.xml solid-numfields.xml solid-numrows.xml solid-result.xml /reference/strings/functions convert-uudecode.xml convert-uuencode.xml
get-meta-tags.xml strpbrk.xml /reference/url/functions get-headers.xml get-meta-tags.xml

From: Date: Wed, 26 May 2004 11:22:12 +0000
Subject: cvs: phpdoc-es /features error-handling.xml images.xml /reference/dl .cvsignore reference.xml /reference/dl/functions dl.xml
/reference/filesystem/functions stat.xml /reference/misc/functions iptcparse.xml leak.xml serialize.xml unserialize.xml /reference/pgsql/functions
pg-cmdtuples.xml pg-errormessage.xml pg-exec.xml pg-fieldisnull.xml pg-fieldname.xml pg-fieldnum.xml pg-fieldprtlen.xml pg-fieldsize.xml
pg-fieldtype.xml pg-freeresult.xml pg-getlastoid.xml pg-locreate.xml pg-loreadall.xml pg-lounlink.xml pg-numfields.xml pg-numrows.xml pg-result.xml
/reference/satellite .cvsignore reference.xml /reference/satellite/functions class.orbitenum.xml class.orbitobject.xml class.orbitstruct.xml
satellite-caught-exception.xml satellite-exception-id.xml satellite-exception-value.xml /reference/solid .cvsignore reference.xml
/reference/solid/functions solid-close.xml solid-connect.xml solid-exec.xml solid-fetchrow.xml solid-fieldname.xml solid-fieldnum.xml
solid-freeresult.xml solid-numfields.xml solid-numrows.xml solid-result.xml /reference/strings/functions convert-uudecode.xml convert-uuencode.xml
get-meta-tags.xml strpbrk.xml /reference/url/functions get-headers.xml get-meta-tags.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-601@lists.php.net to get a copy of this message
lboshell Wed May 26 07:22:12 2004 EDT Added files: /phpdoc-es/reference/strings/functions convert-uudecode.xml convert-uuencode.xml strpbrk.xml /phpdoc-es/reference/url/functions get-headers.xml Removed files: /phpdoc-es/features error-handling.xml images.xml /phpdoc-es/reference/dl .cvsignore reference.xml /phpdoc-es/reference/dl/functions dl.xml /phpdoc-es/reference/misc/functions iptcparse.xml leak.xml serialize.xml unserialize.xml /phpdoc-es/reference/pgsql/functions pg-cmdtuples.xml pg-errormessage.xml pg-exec.xml pg-fieldisnull.xml pg-fieldname.xml pg-fieldnum.xml pg-fieldprtlen.xml pg-fieldsize.xml pg-fieldtype.xml pg-freeresult.xml pg-getlastoid.xml pg-locreate.xml pg-loreadall.xml pg-lounlink.xml pg-numfields.xml pg-numrows.xml pg-result.xml /phpdoc-es/reference/satellite .cvsignore reference.xml /phpdoc-es/reference/satellite/functions class.orbitenum.xml class.orbitobject.xml class.orbitstruct.xml satellite-caught-exception.xml satellite-exception-id.xml satellite-exception-value.xml /phpdoc-es/reference/solid .cvsignore reference.xml /phpdoc-es/reference/solid/functions solid-close.xml solid-connect.xml solid-exec.xml solid-fetchrow.xml solid-fieldname.xml solid-fieldnum.xml solid-freeresult.xml solid-numfields.xml solid-numrows.xml solid-result.xml /phpdoc-es/reference/strings/functions get-meta-tags.xml Modified files: /phpdoc-es/reference/filesystem/functions stat.xml /phpdoc-es/reference/url/functions get-meta-tags.xml Log: - Removiendo archivos obsoletos - Algunos prototipos nuevos - Correcciones

http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/stat.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/stat.xml diff -u phpdoc-es/reference/filesystem/functions/stat.xml:1.1 phpdoc-es/reference/filesystem/functions/stat.xml:1.2 --- phpdoc-es/reference/filesystem/functions/stat.xml:1.1 Sun Apr 14 20:14:00 2002 +++ phpdoc-es/reference/filesystem/functions/stat.xml Wed May 26 07:22:11 2004 @@ -1,42 +1,144 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'stat' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.12 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.stat"> <refnamediv> <refname>stat</refname> - <refpurpose>Da informaci&oacute;n sobre un fichero</refpurpose> + <refpurpose>Entrega informaci&oacute;n sobre un + archivo</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> - <type>array</type><methodname>stat</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>array</type><methodname>stat</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> <para> - Recoje los datos sobre el fichero indicado por filename.</para> + Re&uacute;ne las estad&iacute;sticas del archivo con el nombre + <parameter>nombre_archivo</parameter>. Si + <parameter>nombre_archivo</parameter> es un enlace + simb&oacute;lico, las estad&iacute;sticas son del archivo mismo, + no del enlace. <function>lstat</function> es una funci&oacute;n + id&eacute;ntica a <function>stat</function>, con la + excepci&oacute;n de que utiliza la informaci&oacute;n de status + de los enlaces simb&oacute;licos. + </para> + <para> + En caso de fallos, <function>stat</function> devuelve + &false;. Tambi&eacute;n arrojar&aacute; una advertencia. + </para> + <para> + Devuelve una matriz con las estad&iacute;sticas del archivo, con + los siguientes elementos. Esta matriz comienza en + cero. Adem&aacute;s de devolver estos atributos en una matriz + num&eacute;rica, &eacute;stos pueden ser accesados con + &iacute;ndices asociativos, como se nota al lado de cada + par&aacute;metro; esta alternativa est&aacute; disponible a + partir de PHP 4.0.6: + </para> <para> - Devuelve un array conteniendo los datos del fichero con los - siguientes elementos: - <orderedlist> - <listitem><simpara>dispositivo (device)</simpara></listitem> - <listitem><simpara>inode</simpara></listitem> - <listitem><simpara>modo de protecci&oacute;n del inode</simpara></listitem> - <listitem><simpara>n&uacute;mero de enlaces</simpara></listitem> - <listitem><simpara>id de usuario del propietario</simpara></listitem> - <listitem><simpara>id de grupo del propietario</simpara></listitem> - <listitem><simpara>tipo de dispositivo si es un inode device *</simpara></listitem> - <listitem><simpara>tama&ntilde;o en bytes</simpara></listitem> - <listitem><simpara>fecha del &uacute;ltimo acceso access</simpara></listitem> - <listitem><simpara>fecha de la &uacute;ltima modificaci&oacute;n</simpara></listitem> - <listitem><simpara>fecha del &uacute;ltimo cambio</simpara></listitem> - <listitem><simpara>tama&ntilde;o del bloque para el sistema I/O *</simpara></listitem> - <listitem><simpara>n&uacute;mero de bloques ocupados</simpara></listitem> - </orderedlist> - * - s&oacute;lo v&aacute;lido en sistemas que soportan el tipo st_blksize --otros - sistemas (como Windows) devuelven -1</para> + <table> + <title>Formato de resultados de <function>stat</function> y + <function>fstat</function></title> + <tgroup cols="3"> + <thead> + <row> + <entry>Num&eacute;rico</entry> + <entry>Asociativo (desde PHP 4.0.6)</entry> + <entry>Descripci&oacute;n</entry> + </row> + </thead> + <tbody> + <row> + <entry>0</entry> + <entry>dev</entry> + <entry>n&uacute;mero de dispositivo</entry> + </row> + <row> + <entry>1</entry> + <entry>ino</entry> + <entry>n&uacute;mero de inode</entry> + </row> + <row> + <entry>2</entry> + <entry>mode</entry> + <entry>modo de protecci&oacute;n inode</entry> + </row> + <row> + <entry>3</entry> + <entry>nlink</entry> + <entry>n&uacute;mero de enlaces</entry> + </row> + <row> + <entry>4</entry> + <entry>uid</entry> + <entry>id de usuario del due&ntilde;o</entry> + </row> + <row> + <entry>5</entry> + <entry>gid</entry> + <entry>id de grupo del due&ntilde;o</entry> + </row> + <row> + <entry>6</entry> + <entry>rdev</entry> + <entry>tipo de dispositivo, si hay dispositivo inode + *</entry> + </row> + <row> + <entry>7</entry> + <entry>size</entry> + <entry>tama&ntilde;o en bytes</entry> + </row> + <row> + <entry>8</entry> + <entry>atime</entry> + <entry>hora del &uacute;ltimo acceso (marca de tiempo + Unix)</entry> + </row> + <row> + <entry>9</entry> + <entry>mtime</entry> + <entry>hora de la &uacute;ltima modificaci&oacute;n (marca de + tiempo Unix)</entry> + </row> + <row> + <entry>10</entry> + <entry>ctime</entry> + <entry>hora del &uacute;ltimo cambio del inode (marca de + tiempo Unix)</entry> + </row> + <row> + <entry>11</entry> + <entry>blksize</entry> + <entry>tama&ntilde;o de bloque de E/S del sistema de archivos + *</entry> + </row> + <row> + <entry>12</entry> + <entry>blocks</entry> + <entry>n&uacute;mero de bloques reservados</entry> + </row> + + </tbody> + </tgroup> + </table> + + * - v&aacute;lido &uacute;nicamente en sistemas que soportan el + tipo st_blksize--los dem&aacute;s sistemas (como Windows) + devuelven -1. + </para> + + &note.clearstatcache; + + &tip.fopen-wrapper.stat; + <para> - Los resultados de esta funci&oacute;n son cacheados. Ver - <function>clearstatcache</function> para m&aacute;s detalles. + Vea tambi&eacute;n <function>lstat</function>, + <function>fstat</function>, + <function>filemtime</function>, y + <function>filegroup</function>. </para> </refsect1> </refentry> @@ -61,3 +163,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + http://cvs.php.net/diff.php/phpdoc-es/reference/url/functions/get-meta-tags.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-es/reference/url/functions/get-meta-tags.xml diff -u phpdoc-es/reference/url/functions/get-meta-tags.xml:1.2 phpdoc-es/reference/url/functions/get-meta-tags.xml:1.3 --- phpdoc-es/reference/url/functions/get-meta-tags.xml:1.2 Mon Dec 15 23:43:39 2003 +++ phpdoc-es/reference/url/functions/get-meta-tags.xml Wed May 26 07:22:12 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $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.get-meta-tags"> @@ -18,19 +18,19 @@ <methodparam choice="opt"><type>int</type><parameter>usar_ruta_inclusion</parameter></methodparam> </methodsynopsis> <para> -Abre <parameter>nombre_archivo</parameter> y lo procesa l&iacute;nea -por l&iacute;nea en busca de etiquetas &lt;meta&gt; en el -archivo. &Eacute;ste puede ser un archivo local o -una <acronym>URL</acronym>. El procesamiento se detiene al -encontrar <literal>&lt;/head&gt;</literal>. + Abre <parameter>nombre_archivo</parameter> y lo procesa + l&iacute;nea por l&iacute;nea en busca de etiquetas &lt;meta&gt; + en el archivo. &Eacute;ste puede ser un archivo local o una + <acronym>URL</acronym>. El procesamiento se detiene al encontrar + <literal>&lt;/head&gt;</literal>. </para> <para> -Definir <parameter>usar_ruta_inclusion</parameter> como 1 -producir&aacute; que PHP intente abrir el archivo a lo largo de la -ruta de inclusi&oacute;n est&aacute;ndar, tal y como se define en la -directiva <link -linkend="ini.include-path">include_path</link>. &Eacute;ste -par&aacute;metro es usado para archivos locales, no URLs. + Definir <parameter>usar_ruta_inclusion</parameter> como 1 + producir&aacute; que PHP intente abrir el archivo a lo largo de + la ruta de inclusi&oacute;n est&aacute;ndar, tal y como se define + en la directiva <link + linkend="ini.include-path">include_path</link>. &Eacute;ste + par&aacute;metro es usado para archivos locales, no URLs. </para> <para> <example> @@ -45,23 +45,24 @@ ]]> </programlisting> </example> -(preste atenci&oacute;n a los finales de l&iacute;nea, - PHP usa una -funci&oacute;n nativa para procesar la entrada, as&iacute; que un -archivo Mac no funcionar&aacute; en Unix). + (preste atenci&oacute;n a los finales de l&iacute;nea, - PHP usa + una funci&oacute;n nativa para procesar la entrada, as&iacute; + que un archivo Mac no funcionar&aacute; en Unix). </para> <para> -El valor de la propiedad name se convierte en la clave, el valor de -contenido de la propiedad se convierte en el valor de la matriz -devuelta, de modo que puede usar f&aacute;cilmente funciones -est&aacute;ndar de matrices para recorrerlo o acceder a valores -sencillos. Los caracteres especiales en el valor de la propiedad name -son sustituidos con '_', el resto es convertido a -min&uacute;sculas. Si dos etiquetas meta tienen el mismo nombre, -s&oacute;lo se devuelve la &uacute;ltima. + El valor de la propiedad name se convierte en la clave, el valor + de contenido de la propiedad se convierte en el valor de la + matriz devuelta, de modo que puede usar f&aacute;cilmente + funciones est&aacute;ndar de matrices para recorrerlo o acceder a + valores sencillos. Los caracteres especiales en el valor de la + propiedad name son sustituidos con '_', el resto es convertido a + min&uacute;sculas. Si dos etiquetas meta tienen el mismo nombre, + s&oacute;lo se devuelve la &uacute;ltima. </para> <para> <example> - <title>Lo que devuelve <function>get_meta_tags</function></title> + <title>Lo que devuelve + <function>get_meta_tags</function></title> <programlisting role="php"> <![CDATA[ <?php @@ -81,13 +82,12 @@ </para> <note> <para> -A partir de PHP 4.0.5, <function>get_meta_tags</function> soporta los -atributos HTML sin comillas. + A partir de PHP 4.0.5, <function>get_meta_tags</function> + soporta los atributos HTML sin comillas. </para> </note> <para> - Vea tambi&eacute;n - <function>htmlentities</function> y + Vea tambi&eacute;n <function>htmlentities</function> y <function>urlencode</function>. </para> </refsect1> http://cvs.php.net/co.php/phpdoc-es/reference/strings/functions/convert-uudecode.xml?r=1.1&p=1 Index: phpdoc-es/reference/strings/functions/convert-uudecode.xml +++ phpdoc-es/reference/strings/functions/convert-uudecode.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.convert-uudecode"> <refnamediv> <refname>convert_uudecode</refname> <refpurpose> Descifra una cadena codificada mediante uuencode </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>string</type><methodname>convert_uudecode</methodname> <methodparam><type>string</type><parameter>datos</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </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/strings/functions/convert-uuencode.xml?r=1.1&p=1 Index: phpdoc-es/reference/strings/functions/convert-uuencode.xml +++ phpdoc-es/reference/strings/functions/convert-uuencode.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.convert-uuencode"> <refnamediv> <refname>convert_uuencode</refname> <refpurpose> Codifica, mediante uuencode, una cadena </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>string</type><methodname>convert_uuencode</methodname> <methodparam><type>string</type><parameter>datos</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </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/strings/functions/strpbrk.xml?r=1.1&p=1 Index: phpdoc-es/reference/strings/functions/strpbrk.xml +++ phpdoc-es/reference/strings/functions/strpbrk.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.strpbrk"> <refnamediv> <refname>strpbrk</refname> <refpurpose> Busca una cadena por cualquiera de los elementos de un conjunto de caracteres </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>array</type><methodname>strpbrk</methodname> <methodparam><type>string</type><parameter>pajar</parameter></methodparam> <methodparam><type>string</type><parameter>lista_caracteres</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </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/url/functions/get-headers.xml?r=1.1&p=1 Index: phpdoc-es/reference/url/functions/get-headers.xml +++ phpdoc-es/reference/url/functions/get-headers.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.get-headers"> <refnamediv> <refname>get_headers</refname> <refpurpose> Recupera todas las cabeceras enviadas por el servidor en respuesta a una petici&oacute;n HTTP </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>array</type><methodname>get_headers</methodname> <methodparam><type>string</type><parameter>url</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </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 (#601) next »