mirror of
https://github.com/php/doc-es.git
synced 2026-03-26 00:12:06 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@325479 c90b9560-bf6c-de11-be94-00142212c4b1
88 lines
2.8 KiB
XML
88 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 84b8fca68fc762fefe85acde180a38b2e77a28b9 Maintainer: agarzon Status: ready -->
|
|
<refentry xml:id="function.nsapi-virtual" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>nsapi_virtual</refname>
|
|
<refpurpose>Realiza una sub-petición NSAPI</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>nsapi_virtual</methodname>
|
|
<methodparam><type>string</type><parameter>uri</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>nsapi_virtual</function> es una función específica NSAPI la cual
|
|
es equivalete a <literal><!--#include virtual...--></literal>
|
|
en <acronym>SSI</acronym>
|
|
(archivos <filename>.shtml</filename>). Esto realiza una sub-petición NSAPI.
|
|
Es útil para incluir en scripts CGI o archivos .shtml, o cualquier otro que desee analizar a través del servidor web.
|
|
</para>
|
|
<para>
|
|
Para ejecutar una sub-petición, todos los buffers son finalizados y arrojados al
|
|
bavegador, las cabeceras pendientes son enviadas también.
|
|
</para>
|
|
<para>
|
|
No se puede hacer peticiones recursivas con esta función a otro script PHP.
|
|
Si se desea incluir a un script PHP, use <function>include</function> o
|
|
<function>require</function>.
|
|
</para>
|
|
<note>
|
|
<para>
|
|
Esta función depende de una característica no documentada de los servidores Netscape/iPlanet/Sun.
|
|
Use <function>phpinfo</function> para determinar si está disponible.
|
|
En un entorno Unix debería siempre funcionar, en Windows depende del nombre de un archivo
|
|
<filename>ns-httpdXX.dll</filename>.
|
|
</para>
|
|
<para>
|
|
Lea la nota sobre las sub-peticiones en la sección NSAPI (<link
|
|
linkend="install.unix.sun.notes">UNIX</link>, <link
|
|
linkend="install.windows.sun.notes">Windows</link>) si experimenta este problema.
|
|
</para>
|
|
</note>
|
|
</refsect1>
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>uri</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
La URI del script.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.success;
|
|
</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:"~/.phpdoc/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
|
|
-->
|