cvs: phpdoc-es / translation.xml /appendices ini.xml /reference/bc ini.xml /reference/filesystem/functions fseek.xml /reference/math/functions
base-convert.xml /reference/outcontrol/functions ob-get-contents.xml ob-get-length.xml ob-get-status.xml output-add-rewrite-var.xml
output-reset-rewrite-vars.xml /reference/session ini.xml /reference/stream/functions stream-context-get-default.xml stream-filter-remove.xml
stream-socket-enable-crypto.xml stream-socket-pair.xml stream-wrapper-restore.xml stream-wrapper-unregister.xml

From: Date: Tue, 03 Jan 2006 07:33:35 +0000
Subject: cvs: phpdoc-es / translation.xml /appendices ini.xml /reference/bc ini.xml /reference/filesystem/functions fseek.xml /reference/math/functions
base-convert.xml /reference/outcontrol/functions ob-get-contents.xml ob-get-length.xml ob-get-status.xml output-add-rewrite-var.xml
output-reset-rewrite-vars.xml /reference/session ini.xml /reference/stream/functions stream-context-get-default.xml stream-filter-remove.xml
stream-socket-enable-crypto.xml stream-socket-pair.xml stream-wrapper-restore.xml stream-wrapper-unregister.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-1296@lists.php.net to get a copy of this message
lboshell Tue Jan 3 07:33:35 2006 UTC Added files: /phpdoc-es/reference/stream/functions stream-context-get-default.xml stream-filter-remove.xml stream-socket-enable-crypto.xml stream-socket-pair.xml stream-wrapper-restore.xml stream-wrapper-unregister.xml Modified files: /phpdoc-es translation.xml /phpdoc-es/appendices ini.xml /phpdoc-es/reference/bc ini.xml /phpdoc-es/reference/filesystem/functions fseek.xml /phpdoc-es/reference/math/functions base-convert.xml /phpdoc-es/reference/outcontrol/functions ob-get-contents.xml ob-get-length.xml ob-get-status.xml output-add-rewrite-var.xml output-reset-rewrite-vars.xml /phpdoc-es/reference/session ini.xml Log: * Actualizaciones * Nuevos documentos de reference/stream * Asignacion de nuevo trabajo ### Feliz anyo nuevo! :)

http://cvs.php.net/viewcvs.cgi/phpdoc-es/translation.xml?r1=1.219&r2=1.220&diff_format=u Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.219 phpdoc-es/translation.xml:1.220 --- phpdoc-es/translation.xml:1.219 Wed Dec 21 20:38:37 2005 +++ phpdoc-es/translation.xml Tue Jan 3 07:33:34 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.219 $ --> +<!-- $Revision: 1.220 $ --> <!DOCTYPE translation SYSTEM "../dtds/translation.dtd"> <translation> @@ -129,18 +129,32 @@ <file name="reference/bcompiler/functions/bcompiler-write-header.xml" person="gustavo" type="translation" date="18.12.2005"/> - <file name="reference/streams/functions/stream-context-get-default.xml" - person="lboshell" type="translation" date="28.10.2005"/> - <file name="reference/streams/functions/stream-filter-remove.xml" - person="lboshell" type="translation" date="28.10.2005"/> - <file name="reference/streams/functions/stream-socket-enable-crypto.xml" - person="lboshell" type="translation" date="28.10.2005"/> - <file name="reference/streams/functions/stream-socket-pair.xml" - person="lboshell" type="translation" date="28.10.2005"/> - <file name="reference/streams/functions/stream-wrapper-restore.xml" - person="lboshell" type="translation" date="28.10.2005"/> - <file name="reference/streams/functions/stream-wrapper-unregister.xml" - person="lboshell" type="translation" date="28.10.2005"/> + <file name="reference/network/functions/checkdnsrr.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/closelog.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/debugger-off.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/debugger-on.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/gethostbyaddr.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/gethostbyname.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/gethostbynamel.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/getmxrr.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/getservbyname.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/getservbyport.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/openlog.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/pfsockopen.xml" + person="lboshell" type="revision" date="03.01.2006"/> + <file name="reference/network/functions/syslog.xml" + person="lboshell" type="revision" date="03.01.2006"/> </work-in-progress> </translation> http://cvs.php.net/viewcvs.cgi/phpdoc-es/appendices/ini.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-es/appendices/ini.xml diff -u phpdoc-es/appendices/ini.xml:1.12 phpdoc-es/appendices/ini.xml:1.13 --- phpdoc-es/appendices/ini.xml:1.12 Wed Dec 21 20:39:26 2005 +++ phpdoc-es/appendices/ini.xml Tue Jan 3 07:33:34 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.31 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.34 Maintainer: lboshell Status: ready --> <appendix id="ini"> <title>Directivas de &php.ini;</title> @@ -40,7 +40,7 @@ <entry>allow_url_include</entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 5.1.0.</entry> + <entry>Disponible a partir de PHP 6.0.0.</entry> </row> <row> <entry><link linkend="ini.always-populate-raw-post-data">always_populate_raw_post_data</link></entry> @@ -55,12 +55,6 @@ <entry></entry> </row> <row> - <entry>apc.dynamic_error</entry> - <entry>"0"</entry> - <entry>PHP_INI_SYSTEM</entry> - <entry></entry> - </row> - <row> <entry><link linkend="ini.apc.enabled">apc.enabled</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> @@ -238,7 +232,7 @@ <entry><link linkend="ini.bcmath.scale">bcmath.scale</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry></entry> </row> <row> <entry>bcompiler.enabled</entry> @@ -250,7 +244,7 @@ <entry>birdstep.max_links</entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.2.0.</entry> </row> <row> <entry>blenc.key_file</entry> @@ -265,34 +259,40 @@ <entry></entry> </row> <row> + <entry>cgi.discard_path</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible desde PHP 6.0.0.</entry> + </row> + <row> <entry><link linkend="ini.cgi.fix-pathinfo">cgi.fix_pathinfo</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.cgi.force-redirect">cgi.force_redirect</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.2.0.</entry> </row> <row> <entry>cgi.nph</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.3.5.</entry> </row> <row> <entry><link linkend="ini.cgi.redirect-status-env">cgi.redirect_status_env</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.2.0.</entry> </row> <row> <entry><link linkend="ini.cgi.rfc2616-headers">cgi.rfc2616_headers</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.child-terminate">child_terminate</link></entry> @@ -586,13 +586,13 @@ <entry><link linkend="ini.fastcgi.impersonate">fastcgi.impersonate</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry>fastcgi.logging</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.4.0.</entry> </row> <row> <entry>fbsql.allow_persistent</entry> @@ -764,7 +764,7 @@ </row> <row> <entry>http.etag_mode</entry> - <entry>"-2"</entry> + <entry>"MD5"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> @@ -775,6 +775,30 @@ <entry></entry> </row> <row> + <entry>http.ob_deflate_auto</entry> + <entry>"0"</entry> + <entry>PHP_INI_PERDIR</entry> + <entry></entry> + </row> + <row> + <entry>http.ob_deflate_flags</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>http.ob_inflate_auto</entry> + <entry>"0"</entry> + <entry>PHP_INI_PERDIR</entry> + <entry></entry> + </row> + <row> + <entry>http.ob_inflate_flags</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> <entry>http.only_exceptions</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> @@ -1039,6 +1063,18 @@ <entry></entry> </row> <row> + <entry>ingres.timeout</entry> + <entry>"-1"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>ingres.trace_connect</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> <entry>ircg.control_user</entry> <entry>"nobody"</entry> <entry>PHP_INI_ALL</entry> @@ -1213,6 +1249,12 @@ <entry>Disponible a partir de PHP 4.3.0.</entry> </row> <row> + <entry>mbstring.strict_detection</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible a partir de PHP 5.1.2.</entry> + </row> + <row> <entry><link linkend="ini.mbstring.substitute-character">mbstring.substitute_character</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> @@ -1279,6 +1321,12 @@ <entry>Disponible a partir de PHP 4.0.4.</entry> </row> <row> + <entry>mssql.charset</entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible desde PHP 5.1.2.</entry> + </row> + <row> <entry>mssql.compatability_mode</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> @@ -1294,7 +1342,7 @@ <entry>mssql.datetimeconvert</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.2.0.</entry> + <entry>Disponible desde PHP 4.2.0.</entry> </row> <row> <entry>mssql.max_links</entry> @@ -1312,7 +1360,7 @@ <entry>mssql.max_procs</entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry>mssql.min_error_severity</entry> @@ -1330,7 +1378,7 @@ <entry>mssql.secure_connection</entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry>mssql.textlimit</entry> @@ -1348,7 +1396,7 @@ <entry>mssql.timeout</entry> <entry>"60"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.1.0.</entry> + <entry>Disponible desde PHP 4.1.0.</entry> </row> <row> <entry><link linkend="ini.mysql.allow-persistent">mysql.allow_persistent</link></entry> @@ -1360,7 +1408,7 @@ <entry><link linkend="ini.mysql.connect-timeout">mysql.connect_timeout</link></entry> <entry>"60"</entry> <entry>PHP_INI_ALL</entry> - <entry>PHP_INI_SYSTEM en PHP &lt;= 4.3.2. Disponible a partir de PHP 4.3.0.</entry> + <entry>PHP_INI_SYSTEM en PHP &lt;= 4.3.2. Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.mysql.default-host">mysql.default_host</link></entry> @@ -1384,7 +1432,7 @@ <entry><link linkend="ini.mysql.default-socket">mysql.default_socket</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.1.</entry> + <entry>Disponible desde PHP 4.0.1.</entry> </row> <row> <entry><link linkend="ini.mysql.default-user">mysql.default_user</link></entry> @@ -1408,49 +1456,49 @@ <entry><link linkend="ini.mysql.trace-mode">mysql.trace_mode</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.mysqli.default-host">mysqli.default_host</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.mysqli.default-port">mysqli.default_port</link></entry> <entry>"3306"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.mysqli.default-pw">mysqli.default_pw</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.mysqli.default-socket">mysqli.default_socket</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.mysqli.default-user">mysqli.default_user</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.mysqli.max-links">mysqli.max_links</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry>mysqli.reconnect</entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry>namazu.debugmode</entry> @@ -1486,49 +1534,49 @@ <entry><link linkend="ini.nsapi.read-timeout">nsapi.read_timeout</link></entry> <entry>"60"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.3.</entry> + <entry>Disponible desde PHP 4.3.3.</entry> </row> <row> <entry><link linkend="ini.oci8.default_prefetch">oci8.default_prefetch</link></entry> <entry>"10"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible desde PHP 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.max_persistent">oci8.max_persistent</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible desde PHP 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.old_oci_close_semantics">oci8.old_oci_close_semantics</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible desde PHP 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.persistent_timeout">oci8.persistent_timeout</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible desde PHP 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.ping_interval">oci8.ping_interval</link></entry> <entry>"60"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible desde PHP 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.privileged_connect">oci8.privileged_connect</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible desde PHP 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.statement_cache_size">oci8.statement_cache_size</link></entry> <entry>"20"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible desde PHP 5.1.2.</entry> </row> <row> <entry><link linkend="ini.uodbc.allow-persistent">odbc.allow_persistent</link></entry> @@ -1630,55 +1678,55 @@ <entry><link linkend="ini.output-handler">output_handler</link></entry> <entry>NULL</entry> <entry>PHP_INI_PERDIR</entry> - <entry>Disponible a partir de PHP 4.0.4.</entry> + <entry>Disponible desde PHP 4.0.4.</entry> </row> <row> <entry><link linkend="ini.pdo-odbc.connection-pooling">pdo_odbc.connection_pooling</link></entry> <entry>"strict"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 5.1.0.</entry> </row> <row> <entry>pfpro.defaulthost</entry> <entry>"test-payflow.verisign.com"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.2.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry>pfpro.defaultport</entry> <entry>"443"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.2.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry>pfpro.defaulttimeout</entry> <entry>"30"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.2.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry>pfpro.proxyaddress</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.2.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry>pfpro.proxylogon</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.2.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry>pfpro.proxypassword</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.2.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry>pfpro.proxyport</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.2.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry><link linkend="ini.pgsql.allow-persistent">pgsql.allow_persistent</link></entry> @@ -1690,19 +1738,19 @@ <entry><link linkend="ini.pgsql.auto-reset-persistent">pgsql.auto_reset_persistent</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 4.2.0.</entry> + <entry>Disponible desde PHP 4.2.0.</entry> </row> <row> <entry><link linkend="ini.pgsql.ignore-notice">pgsql.ignore_notice</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.pgsql.log-notice">pgsql.log_notice</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.pgsql.max-links">pgsql.max_links</link></entry> @@ -1720,7 +1768,7 @@ <entry><link linkend="ini.post-max-size">post_max_size</link></entry> <entry>"8M"</entry> <entry>PHP_INI_PERDIR</entry> - <entry>PHP_INI_SYSTEM en PHP &lt;= 4.2.3. Disponible a partir de PHP 4.0.3.</entry> + <entry>PHP_INI_SYSTEM en PHP &lt;= 4.2.3. Disponible desde PHP 4.0.3.</entry> </row> <row> <entry><link linkend="ini.precision">precision</link></entry> @@ -1738,13 +1786,13 @@ <entry>realpath_cache_size</entry> <entry>"16K"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 5.1.0.</entry> + <entry>Disponible desde PHP 5.1.0.</entry> </row> <row> <entry>realpath_cache_ttl</entry> <entry>"120"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 5.1.0.</entry> + <entry>Disponible desde PHP 5.1.0.</entry> </row> <row> <entry><link linkend="ini.register-argc-argv">register_argc_argv</link></entry> @@ -1762,19 +1810,19 @@ <entry><link linkend="ini.register-long-arrays">register_long_arrays</link></entry> <entry>"1"</entry> <entry>PHP_INI_PERDIR</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.report-memleaks">report_memleaks</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry>report_zend_debug</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry>runkit.internal_override</entry> @@ -1810,13 +1858,13 @@ <entry><link linkend="ini.safe-mode-gid">safe_mode_gid</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 4.1.0.</entry> + <entry>Disponible desde PHP 4.1.0.</entry> </row> <row> <entry><link linkend="ini.safe-mode-include-dir">safe_mode_include_dir</link></entry> <entry>NULL</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 4.1.0.</entry> + <entry>Disponible desde PHP 4.1.0.</entry> </row> <row> <entry><link linkend="ini.safe-mode-protected-env-vars">safe_mode_protected_env_vars</link></entry> @@ -1840,7 +1888,7 @@ <entry>serialize_precision</entry> <entry>"100"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.2.</entry> + <entry>Disponible desde PHP 4.3.2.</entry> </row> <row> <entry><link linkend="ini.session.auto-start">session.auto_start</link></entry> @@ -1852,13 +1900,13 @@ <entry><link linkend="ini.session.bug-compat-42">session.bug_compat_42</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.session.bug-compat-warn">session.bug_compat_warn</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.session.cache-expire">session.cache_expire</link></entry> @@ -1894,7 +1942,7 @@ <entry><link linkend="ini.session.cookie-secure">session.cookie_secure</link></entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.4.</entry> + <entry>Disponible desde PHP 4.0.4.</entry> </row> <row> <entry><link linkend="ini.session.entropy-file">session.entropy_file</link></entry> @@ -1912,7 +1960,7 @@ <entry><link linkend="ini.session.gc-divisor">session.gc_divisor</link></entry> <entry>"100"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.2.</entry> + <entry>Disponible desde PHP 4.3.2.</entry> </row> <row> <entry><link linkend="ini.session.gc-maxlifetime">session.gc_maxlifetime</link></entry> @@ -1930,13 +1978,13 @@ <entry><link linkend="ini.session.hash-bits-per-character">session.hash_bits_per_character</link></entry> <entry>"4"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.session.hash-function">session.hash_function</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.session.name">session.name</link></entry> @@ -1976,15 +2024,15 @@ </row> <row> <entry><link linkend="ini.session.use-only-cookies">session.use_only_cookies</link></entry> - <entry>"0"</entry> + <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.session.use-trans-sid">session.use_trans_sid</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>PHP_INI_ALL en PHP &lt;= 4.2.3. PHP_INI_PERDIR en PHP &lt; 5. Disponible a partir de PHP 4.0.3.</entry> + <entry>PHP_INI_ALL en PHP &lt;= 4.2.3. PHP_INI_PERDIR en PHP &lt; 5. Disponible desde PHP 4.0.3.</entry> </row> <row> <entry>session_pgsql.create_table</entry> @@ -2110,25 +2158,25 @@ <entry><link linkend="ini.smtp-port">smtp_port</link></entry> <entry>"25"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.soap.wsdl-cache-dir">soap.wsdl_cache_dir</link></entry> <entry>"/tmp"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.soap.wsdl-cache-enabled">soap.wsdl_cache_enabled</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.soap.wsdl-cache-ttl">soap.wsdl_cache_ttl</link></entry> <entry>"86400"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.sql.safe-mode">sql.safe_mode</link></entry> @@ -2140,13 +2188,13 @@ <entry><link linkend="ini.sqlite.assoc-case">sqlite.assoc_case</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.sybase.allow-persistent">sybase.allow_persistent</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.3.</entry> + <entry>PHP_INI_ALL en PHP &lt;= 4.0.2. PHP_INI_SYSTEM en PHP &lt;= 4.0.3.</entry> </row> <row> <entry><link linkend="ini.sybase.compatability-mode">sybase.compatability_mode</link></entry> @@ -2164,13 +2212,13 @@ <entry><link linkend="ini.sybase.max-links">sybase.max_links</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.3.</entry> + <entry>PHP_INI_ALL en PHP &lt;= 4.0.2. PHP_INI_SYSTEM en PHP &lt;= 4.0.3.</entry> </row> <row> <entry><link linkend="ini.sybase.max-persistent">sybase.max_persistent</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.3.</entry> + <entry>PHP_INI_ALL en PHP &lt;= 4.0.2. PHP_INI_SYSTEM en PHP &lt;= 4.0.3.</entry> </row> <row> <entry><link linkend="ini.sybase.min-error-severity">sybase.min_error_severity</link></entry> @@ -2188,61 +2236,61 @@ <entry><link linkend="ini.sybct.allow-persistent">sybct.allow_persistent</link></entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 4.0.4.</entry> + <entry>PHP_INI_ALL en PHP &lt;= 4.0.2. Disponible desde PHP 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.deadlock-retry-count">sybct.deadlock_retry_count</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.sybct.hostname">sybct.hostname</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.4.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.login-timeout">sybct.login_timeout</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.5.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.max-links">sybct.max_links</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 4.0.4.</entry> + <entry>PHP_INI_ALL en PHP &lt;= 4.0.2. Disponible desde PHP 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.max-persistent">sybct.max_persistent</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 4.0.4.</entry> + <entry>PHP_INI_ALL en PHP &lt;= 4.0.2. Disponible desde PHP 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.min-client-severity">sybct.min_client_severity</link></entry> <entry>"10"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.4.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.min-server-severity">sybct.min_server_severity</link></entry> <entry>"10"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.4.</entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry>sybct.packet_size</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.3.5.</entry> </row> <row> <entry><link linkend="ini.sybct.timeout">sybct.timeout</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.0.2.</entry> </row> <row> <entry>sysvshm.init_mem</entry> @@ -2254,13 +2302,13 @@ <entry><link linkend="ini.tidy.clean-output">tidy.clean_output</link></entry> <entry>"0"</entry> <entry>PHP_INI_PERDIR</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.tidy.default-config">tidy.default_config</link></entry> <entry>""</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.track-errors">track_errors</link></entry> @@ -2272,55 +2320,55 @@ <entry>unicode.fallback_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 6.0.0.</entry> </row> <row> <entry>unicode.from_error_mode</entry> <entry>"2"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 6.0.0.</entry> </row> <row> <entry>unicode.from_error_subst_char</entry> <entry>"3f"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 6.0.0.</entry> </row> <row> <entry>unicode.http_input_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 6.0.0.</entry> </row> <row> <entry><link linkend="ini.unicode.output-encoding">unicode.output_encoding</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 6.0.0.</entry> </row> <row> <entry>unicode.runtime_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 6.0.0.</entry> </row> <row> <entry>unicode.script_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 6.0.0.</entry> </row> <row> <entry>unicode_semantics</entry> <entry>"off"</entry> <entry>PHP_INI_PERDIR</entry> - <entry></entry> + <entry>Disponible desde PHP 6.0.0.</entry> </row> <row> <entry>unserialize_callback_func</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.2.0.</entry> + <entry>Disponible desde PHP 4.2.0.</entry> </row> <row> <entry><link linkend="ini.upload-max-filesize">upload_max_filesize</link></entry> @@ -2338,13 +2386,13 @@ <entry><link linkend="ini.url-rewriter.tags">url_rewriter.tags</link></entry> <entry>"a=href,area=href,frame=src,form=,fieldset="</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.4.</entry> + <entry>Disponible desde PHP 4.0.4.</entry> </row> <row> <entry><link linkend="ini.user-agent">user_agent</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.user-dir">user_dir</link></entry> @@ -2368,25 +2416,25 @@ <entry><link linkend="ini.variables-order">variables_order</link></entry> <entry>"EGPCS"</entry> <entry>PHP_INI_PERDIR</entry> - <entry></entry> + <entry>PHP_INI_ALL en PHP &lt;= 5.0.5.</entry> </row> <row> <entry><link linkend="ini.xbithack">xbithack</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.5.</entry> + <entry>Disponible desde PHP 4.0.5.</entry> </row> <row> <entry>xmlrpc_errors</entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible a partir de PHP 4.1.0.</entry> + <entry>Disponible desde PHP 4.1.0.</entry> </row> <row> <entry>xmlrpc_error_number</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.1.0.</entry> + <entry>Disponible desde PHP 4.1.0.</entry> </row> <row> <entry>xmms.path</entry> @@ -2416,7 +2464,7 @@ <entry>yaz.log_file</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry>yaz.log_mask</entry> @@ -2428,31 +2476,31 @@ <entry>yaz.max_links</entry> <entry>"100"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.zend.ze1-compatibility-mode">zend.ze1_compatibility_mode</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> <row> <entry><link linkend="ini.zlib.output-compression">zlib.output_compression</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.0.5.</entry> + <entry>Disponible desde PHP 4.0.5.</entry> </row> <row> <entry><link linkend="ini.zlib.output-compression-level">zlib.output_compression_level</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry><link linkend="ini.zlib.output-handler">zlib.output_handler</link></entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 4.3.0.</entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> </tbody> </tgroup> @@ -2599,7 +2647,7 @@ <entry>zend.ze1_compatibility_mode</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible a partir de PHP 5.0.0.</entry> + <entry>Disponible desde PHP 5.0.0.</entry> </row> </tbody> </tgroup> @@ -2874,7 +2922,7 @@ <entry>variables_order</entry> <entry>"EGPCS"</entry> <entry>PHP_INI_PERDIR</entry> - <entry></entry> + <entry>PHP_INI_ALL en PHP &lt;= 5.0.5.</entry> </row> <row> <entry>auto_globals_jit</entry> @@ -3386,31 +3434,31 @@ <entry>cgi.fix_pathinfo</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry>cgi.force_redirect</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.2.0.</entry> </row> <row> <entry>cgi.redirect_status_env</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.2.0.</entry> </row> <row> <entry>fastcgi.impersonate</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> <row> <entry>cgi.rfc2616_headers</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible desde PHP 4.3.0.</entry> </row> </tbody> </tgroup> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/bc/ini.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-es/reference/bc/ini.xml diff -u phpdoc-es/reference/bc/ini.xml:1.3 phpdoc-es/reference/bc/ini.xml:1.4 --- phpdoc-es/reference/bc/ini.xml:1.3 Fri Mar 4 22:16:31 2005 +++ phpdoc-es/reference/bc/ini.xml Tue Jan 3 07:33:34 2006 @@ -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 --> <section id="bc.configuration"> &reftitle.runtime; &extension.runtime; @@ -21,7 +21,7 @@ <entry>bcmath.scale</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible desde PHP 5.0.0.</entry> + <entry></entry> </row> </tbody> </tgroup> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/filesystem/functions/fseek.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-es/reference/filesystem/functions/fseek.xml diff -u phpdoc-es/reference/filesystem/functions/fseek.xml:1.5 phpdoc-es/reference/filesystem/functions/fseek.xml:1.6 --- phpdoc-es/reference/filesystem/functions/fseek.xml:1.5 Tue May 3 10:21:16 2005 +++ phpdoc-es/reference/filesystem/functions/fseek.xml Tue Jan 3 07:33:35 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.10 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.11 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fseek"> <refnamediv> @@ -55,7 +55,7 @@ <![CDATA[ <?php -$da = fopen('algun_archivo.txt'); +$da = fopen('algun_archivo.txt', 'r'); // leer datos $datos = fgets($da, 4096); http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/math/functions/base-convert.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-es/reference/math/functions/base-convert.xml diff -u phpdoc-es/reference/math/functions/base-convert.xml:1.2 phpdoc-es/reference/math/functions/base-convert.xml:1.3 --- phpdoc-es/reference/math/functions/base-convert.xml:1.2 Wed Jul 27 03:47:21 2005 +++ phpdoc-es/reference/math/functions/base-convert.xml Tue Jan 3 07:33:35 2006 @@ -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/math.xml, last change in rev 1.2 --> <refentry id="function.base-convert"> <refnamediv> @@ -57,6 +57,9 @@ espec&iacute;fica sobre las limitaciones. </simpara> </warning> + <para> + Vea tambi&eacute;n: <function>intval</function>. + </para> </refsect1> </refentry> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/outcontrol/functions/ob-get-contents.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-es/reference/outcontrol/functions/ob-get-contents.xml diff -u phpdoc-es/reference/outcontrol/functions/ob-get-contents.xml:1.2 phpdoc-es/reference/outcontrol/functions/ob-get-contents.xml:1.3 --- phpdoc-es/reference/outcontrol/functions/ob-get-contents.xml:1.2 Fri Jan 16 22:59:20 2004 +++ phpdoc-es/reference/outcontrol/functions/ob-get-contents.xml Tue Jan 3 07:33:35 2006 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.5 --> <refentry id="function.ob-get-contents"> <refnamediv> - <refname>ob_get_contents</refname> + <refname>ob_get_contents</refname> <refpurpose> Devolver el contenido del b&uacute;fer de salida </refpurpose> @@ -17,8 +17,45 @@ </methodsynopsis> <para> Esta funci&oacute;n devolver&aacute; los contenidos del - b&uacute;fer de salida, o &false;, si no est&aacute; activo el - uso del b&uacute;fer de salida. + b&uacute;fer de salida sin limpiarlos, o &false;, si no + est&aacute; activo el uso del b&uacute;fer de salida. + </para> + <para> + <example> + <title>Un ejemplo sencillo de + <function>ob_get_contents</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +ob_start(); + +echo "Hola "; + +$salida1 = ob_get_contents(); + +echo "Mundo"; + +$salida2 = ob_get_contents(); + +ob_end_clean(); + +var_dump($salida1, $salida2); +?> +]]> + </programlisting> + <para> + Nuestro ejemplo producir&aacute; la salida: + </para> + <screen> +<![CDATA[ + +string(5) "Hola " +string(10) "Hola Mundo" + +]]> + </screen> + </example> </para> <para> Vea tambi&eacute;n <function>ob_start</function> y http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/outcontrol/functions/ob-get-length.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-es/reference/outcontrol/functions/ob-get-length.xml diff -u phpdoc-es/reference/outcontrol/functions/ob-get-length.xml:1.2 phpdoc-es/reference/outcontrol/functions/ob-get-length.xml:1.3 --- phpdoc-es/reference/outcontrol/functions/ob-get-length.xml:1.2 Sat Jul 23 15:22:35 2005 +++ phpdoc-es/reference/outcontrol/functions/ob-get-length.xml Tue Jan 3 07:33:35 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.22 --> <refentry id="function.ob-get-length"> <refnamediv> @@ -21,6 +21,42 @@ est&aacute; activo el uso de b&uacute;feres de salida. </para> <para> + <example> + <title>Un ejemplo sencillo de + <function>ob_get_contents</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +ob_start(); + +echo "Hola "; + +$lon1 = ob_get_length(); + +echo "Mundo"; + +$lon2 = ob_get_length(); + +ob_end_clean(); + +echo $lon1 . ", ." . $lon2; +?> +]]> + </programlisting> + <para> + Nuestro ejemplo producir&aacute; la salida: + </para> + <screen> +<![CDATA[ + +5, 10 + +]]> + </screen> + </example> + </para> + <para> Vea tambi&eacute;n <function>ob_start</function> y <function>ob_get_contents</function>. </para> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/outcontrol/functions/ob-get-status.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-es/reference/outcontrol/functions/ob-get-status.xml diff -u phpdoc-es/reference/outcontrol/functions/ob-get-status.xml:1.2 phpdoc-es/reference/outcontrol/functions/ob-get-status.xml:1.3 --- phpdoc-es/reference/outcontrol/functions/ob-get-status.xml:1.2 Mon Aug 8 06:45:32 2005 +++ phpdoc-es/reference/outcontrol/functions/ob-get-status.xml Tue Jan 3 07:33:35 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <refentry id="function.ob-get-status"> <refnamediv> <refname>ob_get_status</refname> @@ -12,17 +12,118 @@ <title>Descripci&oacute;n</title> <methodsynopsis> <type>array</type><methodname>ob_get_status</methodname> - <methodparam choice="opt"><type>bool</type><parameter> - status_completo</parameter> + <methodparam choice="opt"> + <type>bool</type> + <parameter>status_completo</parameter> + <initializer>FALSE</initializer> </methodparam> </methodsynopsis> <para> - Esta funci&oacute;n devolver&aacute; el status actual de los - b&uacute;feres de salida. Devuelve una matriz que contiene el - est&aacute;tus de b&uacute;fer, o &false; en caso de fallo. + <function>ob_get_status</function> devuelve informaci&oacute;n + sobre el b&uacute;fer de salida de nivel superior, o sobre todos + los niveles activos de b&uacute;feres de salida si + <parameter>status_completo</parameter> es definido como &true;. </para> <para> - Vea tambi&eacute;n <function>ob_get_level</function>. + Si esta funci&oacute;n es llamada sin es par&aacute;metro + <parameter>status_completo</parameter>, o con + <parameter>status_completo</parameter> = &false;, una simple + matriz con los siguientes elementos es devuelta: + </para> + <example> + <title>Salida simple de + <function>ob_get_status</function></title> + <screen> +Array +( + [level] => 2 + [type] => 0 + [status] => 0 + [name] => URL-Rewriter + [del] => 1 +) + </screen> + </example> + <para> + <segmentedlist> + <title>Resultados simples de + <function>ob_get_status</function></title> + <segtitle>Clave</segtitle> + <segtitle>Valor</segtitle> + <seglistitem><seg>level</seg><seg>Nivel de anidamiento de la + salida</seg></seglistitem> + <seglistitem><seg>type</seg><seg><literal>PHP_OUTPUT_HANDLER_INTERNAL + (0)</literal> o <literal>PHP_OUTPUT_HANDLER_USER + (1)</literal></seg></seglistitem> + <seglistitem><seg>status</seg><seg>Un valor entre + <literal>PHP_OUTPUT_HANDLER_START</literal> (0), + <literal>PHP_OUTPUT_HANDLER_CONT</literal> (1) o + <literal>PHP_OUTPUT_HANDLER_END</literal> + (2)</seg></seglistitem> + <seglistitem><seg>name</seg><seg>Nombre del gestor de salida + activo, o 'default output handler' si no hay uno + definido</seg></seglistitem> + <seglistitem><seg>del</seg><seg>Bandera de borrado, tal y como + se define por <function>ob_start</function></seg></seglistitem> + </segmentedlist> + </para> + <para> + Si se llama con <parameter>status_completo</parameter> = &true;, + se devuelve una matriz con un elemento por cada nivel de + b&uacute;fer de salida activo. El nivel de salida es usado como + la clave de la matriz de nivel superior, y cada elemento como tal + es otra matriz que contiene informaci&oacute;n de status sobre un + nivel de salida activo. + </para> + <example> + <title>Salida completa de + <function>ob_get_status</function></title> + <screen> +Array +( + [0] => Array + ( + [chunk_size] => 0 + [size] => 40960 + [block_size] => 10240 + [type] => 1 + [status] => 0 + [name] => default output handler + [del] => 1 + ) + + [1] => Array + ( + [chunk_size] => 0 + [size] => 40960 + [block_size] => 10240 + [type] => 0 + [buffer_size] => 0 + [status] => 0 + [name] => URL-Rewriter + [del] => 1 + ) + +) + </screen> + </example> + <para> + La salida completa contiene los siguientes elementos adicionales: + <segmentedlist> + <title>Resultados completos de + <function>ob_get_status</function></title> + <segtitle>Clave</segtitle> + <segtitle>Valor</segtitle> + <seglistitem><seg>chunk_size</seg><seg>Tama&ntilde;o de + segmento, tal y como se define en + <function>ob_start</function></seg></seglistitem> + <seglistitem><seg>size</seg><seg>...</seg></seglistitem> + <seglistitem><seg>blocksize</seg><seg>...</seg></seglistitem> + </segmentedlist> + </para> + <para> + Vea tambi&eacute;n <function>ob_get_level</function> y + <function>ob_list_handlers</function>. </para> </refsect1> </refentry> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/outcontrol/functions/output-add-rewrite-var.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-es/reference/outcontrol/functions/output-add-rewrite-var.xml diff -u phpdoc-es/reference/outcontrol/functions/output-add-rewrite-var.xml:1.1 phpdoc-es/reference/outcontrol/functions/output-add-rewrite-var.xml:1.2 --- phpdoc-es/reference/outcontrol/functions/output-add-rewrite-var.xml:1.1 Mon Oct 3 04:32:39 2005 +++ phpdoc-es/reference/outcontrol/functions/output-add-rewrite-var.xml Tue Jan 3 07:33:35 2006 @@ -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.7 Maintainer: lboshell Status: ready --> <refentry id="function.output-add-rewrite-var"> <refnamediv> <refname>output_add_rewrite_var</refname> @@ -16,12 +16,24 @@ <methodparam><type>string</type><parameter>valor</parameter></methodparam> </methodsynopsis> <para> - Esta funci&oacute;n re-escribe las URLs y formularios con la - variable dada. + Esta funci&oacute;n agrega otra pareja nombre/valor al mecanismo + de re-escritura de URLs. El nombre y el valor ser&aacute;n + agregados a las URLs (como par&aacute;metros GET) y formularios + (como campos de entrada escondidos) de la misma forma que los ID + de sesi&oacute;n cuando la reescritura de URLs transparente + est&aacute; habilitada con <link + linkend="ini.session.use-trans-sid">session.use_trans_sid</link>. + </para> + <para> + El comportamiento de esta funci&oacute;n es controlado por el + par&aacute;metro &php.ini; <link + linkend="ini.url-rewriter.tags">url_rewriter.tags</link>. </para> <note> <simpara> - Esta funci&oacute;n coloca la salida en un b&uacute;fer. + Al llamar esta funci&oacute;n se iniciar&aacute; + impl&iacute;citamente el uso de b&uacute;feres de salida si el + mecanismo no est&aacute; activo aun. </simpara> </note> <para> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/outcontrol/functions/output-reset-rewrite-vars.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-es/reference/outcontrol/functions/output-reset-rewrite-vars.xml diff -u phpdoc-es/reference/outcontrol/functions/output-reset-rewrite-vars.xml:1.1 phpdoc-es/reference/outcontrol/functions/output-reset-rewrite-vars.xml:1.2 --- phpdoc-es/reference/outcontrol/functions/output-reset-rewrite-vars.xml:1.1 Mon Oct 3 04:32:39 2005 +++ phpdoc-es/reference/outcontrol/functions/output-reset-rewrite-vars.xml Tue Jan 3 07:33:35 2006 @@ -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 --> <refentry id="function.output-reset-rewrite-vars"> <refnamediv> <refname>output_reset_rewrite_vars</refname> @@ -16,10 +16,11 @@ </methodsynopsis> <para> Esta funci&oacute;n reestablece el mecanismo de re-escritura de - URLs y deshace los cambios hechos por - <function>output_add_rewrite_var</function> o por - <function>session_start</function> que aun se encuentren en el - b&uacute;fer. + URLs y remueve todas las variables de re-escritura definidas + previamente por la funci&oacute;n + <function>output_add_rewrite_var</function> o el mecanismo de + sesiones (si <literal>session.use_trans_sid</literal> fue + definido en <function>session_start</function>). </para> <para> <example> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/session/ini.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-es/reference/session/ini.xml diff -u phpdoc-es/reference/session/ini.xml:1.15 phpdoc-es/reference/session/ini.xml:1.16 --- phpdoc-es/reference/session/ini.xml:1.15 Wed Dec 21 20:39:26 2005 +++ phpdoc-es/reference/session/ini.xml Tue Jan 3 07:33:35 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.38 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.39 Maintainer: lboshell Status: ready --> <section id="session.configuration"> &reftitle.runtime; &extension.runtime; @@ -97,7 +97,7 @@ </row> <row> <entry>session.use_only_cookies</entry> - <entry>"0"</entry> + <entry>"1"</entry> <entry>PHP_INI_ALL</entry> <entry>Disponible desde PHP 4.3.0.</entry> </row> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/stream/functions/stream-context-get-default.xml?view=markup&rev=1.1 Index: phpdoc-es/reference/stream/functions/stream-context-get-default.xml +++ phpdoc-es/reference/stream/functions/stream-context-get-default.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.stream-context-get-default"> <refnamediv> <refname>stream_context_get_default</refname> <refpurpose>Recuperar el contexto de secuencias predeterminado</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>resource</type><methodname>stream_context_get_default</methodname> <methodparam choice="opt"><type>array</type><parameter>opciones</parameter></methodparam> </methodsynopsis> <simpara> Devuelve el contexto de secuencias predeterminado usado siempre que son llamadas las operaciones de archivos (<function>fopen</function>, <function>file_get_contents</function>, etc...) sin un par&aacute;metro de contexto. Las opciones para el contexto predeterminado pueden ser especificadas opcionalmente con esta funci&oacute;n usando la misma sintaxis que en <function>stream_context_create</function>. </simpara> <simpara> <parameter>opciones</parameter> debe ser una matriz de matrices asociativas en el formato <literal>$matriz['envoltura']['opcion'] = $valor</literal>. </simpara> <example> <title>Uso de <function>stream_context_get_default</function></title> <programlisting role="php"> <![CDATA[ <?php $opciones_predeterminadas = array( 'http'=>array( 'method'=>"GET", 'header'=>"Accept-language: en\r\n" . "Cookie: foo=bar", 'proxy'=>"tcp://10.54.1.39:8000" ) ); $opciones_alternas = array( 'http'=>array( 'method'=>"POST", 'header'=>"Content-type: application/x-www-form-urlencoded\r\n" . "Content-length: " . strlen("baz=bomb"), 'content'=>"baz=bomb" ) ); $predeterminado = stream_context_get_default($opciones_predeterminadas); $alterno = stream_context_create($opciones_alternas); /* Envia una peticion GET normal al servidor proxy en 10.54.1.39 * Solicita www.example.com usando las opciones de contexto especificadas * en $opciones_predeterminadas */ readfile('http://www.example.com'); /* Envia una peticion POST directamente a www.example.com * Usando las opciones de contexto especificadas en $opciones_alternas */ readfile('http://www.example.com', false, $alterno); ?> ]]> </programlisting> </example> <simpara> Vea tambi&eacute;n <function>stream_context_create</function>, y el Listado de envolturas soportadas con opciones de contexto (<xref linkend="wrappers"/>). </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 --> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/stream/functions/stream-filter-remove.xml?view=markup&rev=1.1 Index: phpdoc-es/reference/stream/functions/stream-filter-remove.xml +++ phpdoc-es/reference/stream/functions/stream-filter-remove.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.stream-filter-remove"> <refnamediv> <refname>stream_filter_remove</refname> <refpurpose>Remover un filtro de una secuencia</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>bool</type><methodname>stream_filter_remove</methodname> <methodparam><type>resource</type><parameter>filtro_de_secuencia</parameter></methodparam> </methodsynopsis> <simpara> Remueve un filtro de secuencia previamente agregado a una secuencia con <function>stream_filter_prepend</function> o <function>stream_filter_append</function>. Cualquier dato que permanezca en el b&uacute;fer interno del filtro ser&aacute; volcado a trav&eacute;s del siguiente filtro antes de ser removido. </simpara> <para> <example> <title>Refiltrado din&aacute;mico de una secuencia</title> <programlisting role="php"> <![CDATA[ <?php /* Abrir un archivo de prueba para lectura y escritura */ $da = fopen("prueba.txt", "rw"); $filtro_rot13 = stream_filter_append($da, "string.rot13", STREAM_FILTER_WRITE); fwrite($da, "Esto es "); stream_filter_remove($filtro_rot13); fwrite($da, "una prueba\n"); rewind($da); fpassthru($da); fclose($da); /* Salida Esperada --------------- Rfgb rf una prueba */ ?> ]]> </programlisting> </example> </para> <simpara> Vea tambi&eacute;n <function>stream_filter_register</function>, <function>stream_filter_append</function>, y <function>stream_filter_prepend</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 --> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/stream/functions/stream-socket-enable-crypto.xml?view=markup&rev=1.1 Index: phpdoc-es/reference/stream/functions/stream-socket-enable-crypto.xml +++ phpdoc-es/reference/stream/functions/stream-socket-enable-crypto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <refentry id="function.stream-socket-enable-crypto"> <refnamediv> <refname>stream_socket_enable_crypto</refname> <refpurpose> Habilita/deshabilita la encripci&oacute;n sobre un socket ya conectado </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>mixed</type><methodname>stream_socket_enable_crypto</methodname> <methodparam><type>resource</type><parameter>secuencia</parameter></methodparam> <methodparam><type>bool</type><parameter>habilitar</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>tipo_cifrado</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>secuencia_sesion</parameter></methodparam> </methodsynopsis> <simpara> Cuando es llamada con el par&aacute;metro <parameter>tipo_cifrado</parameter>, la funci&oacute;n <function>stream_socket_enable_crypto</function> preparar&aacute; la encripci&oacute;n sobre la secuencia usando el m&eacute;todo especificado. </simpara> <para> Valores v&aacute;lidos para <parameter>tipo_cifrado</parameter> <itemizedlist> <listitem><simpara><constant>STREAM_CRYPTO_METHOD_SSLv2_CLIENT</constant></simpara></listitem> <listitem><simpara><constant>STREAM_CRYPTO_METHOD_SSLv3_CLIENT</constant></simpara></listitem> <listitem><simpara><constant>STREAM_CRYPTO_METHOD_SSLv23_CLIENT</constant></simpara></listitem> <listitem><simpara><constant>STREAM_CRYPTO_METHOD_TLS_CLIENT</constant></simpara></listitem> <listitem><simpara><constant>STREAM_CRYPTO_METHOD_SSLv2_SERVER</constant></simpara></listitem> <listitem><simpara><constant>STREAM_CRYPTO_METHOD_SSLv3_SERVER</constant></simpara></listitem> <listitem><simpara><constant>STREAM_CRYPTO_METHOD_SSLv23_SERVER</constant></simpara></listitem> <listitem><simpara><constant>STREAM_CRYPTO_METHOD_TLS_SERVER</constant></simpara></listitem> </itemizedlist> </para> <simpara> Una vez se establecen los par&aacute;metros de encripci&oacute;n, la criptograf&iacute;a puede ser encendida y apagada din&aacute;micamente pasando &true; o &false; en el par&aacute;metro <parameter>habilitar</parameter>. </simpara> <simpara> Si esta secuencia debe ser alimentada con una semilla usando los par&aacute;metros de una secuencia ya establecida y con la encripci&oacute;n habilitada, ha de pasarse la variable de recurso de esa secuencia en el cuarto par&aacute;metro. </simpara> <simpara> Devuelve &true; en caso de &eacute;xito, &false; si la negociaci&oacute;n ha fallado o <literal>0</literal> si no hay suficientes datos y debe intentarse de nuevo (solo para sockets que no causan bloqueos). </simpara> <example> <title>Ejemplo de <function>stream_socket_enable_crypto</function></title> <programlisting role="php"> <![CDATA[ <?php $da = stream_socket_client("tcp://miproto.example.com:31337", $errno, $errstr, 30); if (!$da) { die("No fue posible conectarse: $errstr ($errno)"); } /* Habilitar la encripcion para la fase de inicio de sesion */ stream_socket_enable_crypto($da, true, STREAM_CRYPTO_METHOD_SSLv23_CLIENT); fwrite($da, "USER dios\r\n"); fwrite($da, "PASS secreto\r\n"); /* Apagar la encripcion para el resto */ stream_socket_enable_crypto($da, false); while ($motd = fgets($da)) { echo $motd; } fclose($da); ?> ]]> </programlisting> </example> <simpara> <xref linkend="ref.openssl"/>, y <xref linkend="transports"/> </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 --> http://cvs.php.net/viewcvs.cgi/phpdoc-es/reference/stream/functions/stream-socket-pair.xml?view=markup&rev=1.1 Index: phpdoc-es/reference/stream/functions/stream-socket-pair.xml +++ phpdoc-es/reference/stream/functions/stream-socket-pair.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.stream-socket-pair"> <refnamediv> <refname>stream_socket_pair</refname> <refpurpose> Crea un par de secuencias de socket conectados e indistinguibles </refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>stream_socket_pair</methodname> <methodparam><type>int</type><parameter>dominio</parameter></methodparam> <methodparam><type>int</type><parameter>tipo</parameter></methodparam> <methodparam><type>int</type><parameter>protocolo</parameter></methodparam> </methodsynopsis> <para> <function>stream_socket_pair</function> crea un par de secuencias de socket conectados e indistinguibles. Esta funci&oacute;n es usada com&uacute;nmente en Comunicaci&oacute;n Inter-Procesos (IPC por sus siglas en ingl&eacute;s). </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>dominio</parameter></term> <listitem> <para> La familia de protocolo a usar: <constant>STREAM_PF_INET</constant>, <constant>STREAM_PF_INET6</constant> oo <constant>STREAM_PF_UNIX</constant> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>tipo</parameter></term> <listitem> <para> El tipo de comunicaci&oacute;n a usar: <constant>STREAM_SOCK_DGRAM</constant>, <constant>STREAM_SOCK_RAW</constant>, <constant>STREAM_SOCK_RDM</constant>, <constant>STREAM_SOCK_SEQPACKET</constant> o <constant>STREAM_SOCK_STREAM</constant> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>protocolo</parameter></term> <listitem> <para> El protocolo a usar: <constant>STREAM_IPPROTO_ICMP</constant>, <constant>STREAM_IPPROTO_IP</constant>, <constant>STREAM_IPPROTO_RAW</constant>, <constant>STREAM_IPPROTO_TCP</constant> o <constant>STREAM_IPPROTO_UDP</constant> </para> </listitem> </varlistentry> </variablelist> </para> <note> <simpara> Por favor consulte la <link linkend="stream.constants">Lista de constantes de secuencias</link> para m&aacute;s detalles sobre cada constante. </simpara> </note> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Devuelve un valor tipo <type>array</type> con los dos recursos de socket en caso de &eacute;xito, o &false; si ocurre un error. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Un ejemplo de <function>stream_socket_pair</function></title> <para> Este ejemplo muestra el uso b&aacute;sico de <function>stream_socket_pair</function> en Comunicaci&oacute;n Inter-Procesos. </para> <programlisting role="php"> <![CDATA[ <?php $sockets = stream_socket_pair(STREAM_PF_UNIX, STREAM_SOCK_STREAM, STREAM_IPPROTO_IP); $pid = pcntl_fork(); if ($pid == -1) { die('no se pudo bifurcar'); } else if ($pid) { /* padre */ fclose($sockets[0]); fwrite($sockets[1], "PID hijo: $pid\n"); echo fgets($sockets[1]); fclose($sockets[1]); } else { /* hijo */ fclose($sockets[1]); fwrite($sockets[0], "mensaje desde el hijo\n"); echo fgets($sockets[0]); fclose($sockets[0]); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ PID hijo: 1378 mensaje desde el hijo ]]> </screen> </example> </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/viewcvs.cgi/phpdoc-es/reference/stream/functions/stream-wrapper-restore.xml?view=markup&rev=1.1 Index: phpdoc-es/reference/stream/functions/stream-wrapper-restore.xml +++ phpdoc-es/reference/stream/functions/stream-wrapper-restore.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.stream-wrapper-restore"> <refnamediv> <refname>stream_wrapper_restore</refname> <refpurpose>Recupera una envoltura incorporada, previamente retirada del registro</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>bool</type><methodname>stream_wrapper_restore</methodname> <methodparam><type>string</type><parameter>protocolo</parameter></methodparam> </methodsynopsis> <para> Recupera una envoltura incorporada previamente retirada del registro con <function>stream_wrapper_unregister</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/viewcvs.cgi/phpdoc-es/reference/stream/functions/stream-wrapper-unregister.xml?view=markup&rev=1.1 Index: phpdoc-es/reference/stream/functions/stream-wrapper-unregister.xml +++ phpdoc-es/reference/stream/functions/stream-wrapper-unregister.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.stream-wrapper-unregister"> <refnamediv> <refname>stream_wrapper_unregister</refname> <refpurpose>Retirar del registro una envoltura de URL</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>bool</type><methodname>stream_wrapper_unregister</methodname> <methodparam><type>string</type><parameter>protocolo</parameter></methodparam> </methodsynopsis> <para> <function>stream_wrapper_unregister</function> le permite deshabilitar una envoltura de secuencia ya definida. Una vez la envoltura ha sido deshabilitada, es posible reemplazarla con una envoltura definida por el usuario usando <function>stream_wrapper_register</function> o re-habilitarla luego con <function>stream_wrapper_restore</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.es (#1296) next »