mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
hopefully the rest of NSAPI... :)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135128 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
87d5db6e17
commit
47973df7b3
3 changed files with 102 additions and 7 deletions
53
reference/nsapi/functions/nsapi-virtual.xml
Normal file
53
reference/nsapi/functions/nsapi-virtual.xml
Normal file
|
@ -0,0 +1,53 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- splitted from ./en/functions/apache.xml, last change in rev 1.20 -->
|
||||
<refentry id="function.nsapi-virtual">
|
||||
<refnamediv>
|
||||
<refname>nsapi_virtual</refname>
|
||||
<refpurpose>Perform an NSAPI sub-request</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>nsapi_virtual</methodname>
|
||||
<methodparam><type>string</type><parameter>uri</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>virtual</function> is an NSAPI-specific function which
|
||||
is equivalent to <!--#include virtual...--> in in SSI
|
||||
(<filename>.shtml</filename> files). It does an NSAPI sub-request.
|
||||
It is useful for including CGI scripts or .shtml files, or anything
|
||||
else that you'd parse through webserver.
|
||||
</para>
|
||||
<para>
|
||||
To run the sub-request, all buffers are terminated and flushed to the
|
||||
browser, pending headers are sent too.
|
||||
</para>
|
||||
<para>
|
||||
You cannot make recursive requests with this function to other PHP scripts.
|
||||
If you want to include PHP scripts, use <function>include</function> or
|
||||
<function>require</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
|
||||
-->
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<section id="nsapi.configuration">
|
||||
&reftitle.runtime;
|
||||
<para>
|
||||
|
@ -23,17 +23,14 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>nsapi.read_timeout</entry>
|
||||
<entry>90</entry>
|
||||
<entry>60</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>sets the time the plugin is waiting for POST data in seconds</entry>
|
||||
<entry>sets the time in seconds the plugin is waiting for POST data from the client</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
|
||||
&ini.descriptions.title;
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<reference id="ref.nsapi">
|
||||
<title>NSAPI-specific Functions</title>
|
||||
<titleabbrev>NSAPI</titleabbrev>
|
||||
|
@ -31,6 +31,51 @@
|
|||
&reftitle.constants;
|
||||
&no.constants;
|
||||
</section>
|
||||
|
||||
<section id="nsapi.seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
NSAPI implements a subset of the functions from the Apache module for maximum compatibility.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<table>
|
||||
<title>Apache functions implemented by NSAPI</title>
|
||||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Apache function (only as alias)</entry>
|
||||
<entry>NSAPI function</entry>
|
||||
<entry>Description</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><function>apache_request_headers</function></entry>
|
||||
<entry><function>nsapi_request_headers</function></entry>
|
||||
<entry>Fetch all HTTP request headers</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><function>apache_response_headers</function></entry>
|
||||
<entry><function>nsapi_response_headers</function></entry>
|
||||
<entry>Fetch all HTTP response headers</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><function>getallheaders</function></entry>
|
||||
<entry><function>nsapi_request_headers</function></entry>
|
||||
<entry>Fetch all HTTP request headers</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><function>virtual</function></entry>
|
||||
<entry><function>nsapi_virtual</function></entry>
|
||||
<entry>Make NSAPI sub-request</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
</partintro>
|
||||
|
||||
&reference.nsapi.functions;
|
||||
|
|
Loading…
Reference in a new issue