<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >NSAPI-specific Functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PHP 手册" HREF="index.html"><LINK REL="UP" TITLE="函数参考" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="newt_win_ternary" HREF="function.newt-win-ternary.html"><LINK REL="NEXT" TITLE="nsapi_request_headers" HREF="function.nsapi-request-headers.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP 手册</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.newt-win-ternary.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.nsapi-request-headers.html" ACCESSKEY="N" >下一页</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.nsapi" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >CIV. NSAPI-specific Functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN155287" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="nsapi.intro" >简介</A ></H1 ><P > These functions are only available when running PHP as a NSAPI module in Netscape/iPlanet/Sun webservers. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="nsapi.installation" >安装</A ></H1 ><P > For PHP installation on Netscape/iPlanet/Sun webservers see the NSAPI section (<A HREF="install.unix.sun.html" >UNIX</A >, <A HREF="install.windows.sun.html" >Windows</A >) in the installation chapter. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="nsapi.configuration" >运行时配置</A ></H1 ><P > The behaviour of the NSAPI PHP module is affected by settings in <TT CLASS="filename" >php.ini</TT >. Configuration settings from <TT CLASS="filename" >php.ini</TT > may be overridden by additional parameters to the <TT CLASS="literal" >php4_execute</TT > call in <TT CLASS="filename" >obj.conf</TT > </P ><P > <DIV CLASS="table" ><A NAME="AEN155304" ></A ><P ><B >表 1. NSAPI configuration options</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><COL><COL><COL><COL><THEAD ><TR ><TH >Name</TH ><TH >Default</TH ><TH >Changeable</TH ><TH >Changelog</TH ></TR ></THEAD ><TBODY ><TR ><TD >nsapi.read_timeout</TD ><TD >"60"</TD ><TD >PHP_INI_ALL</TD ><TD >Available since PHP 4.3.3.</TD ></TR ></TBODY ></TABLE ></DIV > 有关 PHP_INI_* 常量进一步的细节与定义参见<A HREF="ini.html" >附录 H</A >。 </P ><P >以下是配置选项的简要解释。</P ><P > <P ></P ><DIV CLASS="variablelist" ><DL ><DT ><A NAME="ini.nsapi.read-timeout" ></A ><CODE CLASS="parameter" >nsapi.read_timeout</CODE > <A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A ></DT ><DD ><P > Sets the time in seconds the plugin is waiting for POST data from the client. </P ></DD ></DL ></DIV > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="nsapi.resources" >资源类型</A ></H1 ><P >本扩展模块未定义任何资源类型。</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="nsapi.constants" >预定义常量</A ></H1 ><P >本扩展模块未定义任何常量。</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="nsapi.seealso" >参见</A ></H1 ><P > NSAPI implements a subset of the functions from the Apache module for maximum compatibility. </P ><P > <DIV CLASS="table" ><A NAME="AEN155339" ></A ><P ><B >表 2. Apache functions implemented by NSAPI</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><COL><COL><COL><THEAD ><TR ><TH >Apache function (only as alias)</TH ><TH >NSAPI function</TH ><TH >Description</TH ></TR ></THEAD ><TBODY ><TR ><TD ><A HREF="function.apache-request-headers.html" ><B CLASS="function" >apache_request_headers()</B ></A ></TD ><TD ><A HREF="function.nsapi-request-headers.html" ><B CLASS="function" >nsapi_request_headers()</B ></A ></TD ><TD >Fetch all HTTP request headers</TD ></TR ><TR ><TD ><A HREF="function.apache-response-headers.html" ><B CLASS="function" >apache_response_headers()</B ></A ></TD ><TD ><A HREF="function.nsapi-response-headers.html" ><B CLASS="function" >nsapi_response_headers()</B ></A ></TD ><TD >Fetch all HTTP response headers</TD ></TR ><TR ><TD ><A HREF="function.getallheaders.html" ><B CLASS="function" >getallheaders()</B ></A ></TD ><TD ><A HREF="function.nsapi-request-headers.html" ><B CLASS="function" >nsapi_request_headers()</B ></A ></TD ><TD >Fetch all HTTP request headers</TD ></TR ><TR ><TD ><A HREF="function.virtual.html" ><B CLASS="function" >virtual()</B ></A ></TD ><TD ><A HREF="function.nsapi-virtual.html" ><B CLASS="function" >nsapi_virtual()</B ></A ></TD ><TD >Make NSAPI sub-request</TD ></TR ></TBODY ></TABLE ></DIV > </P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >目录</B ></DT ><DT ><A HREF="function.nsapi-request-headers.html" >nsapi_request_headers</A > -- Fetch all HTTP request headers</DT ><DT ><A HREF="function.nsapi-response-headers.html" >nsapi_response_headers</A > -- Fetch all HTTP response headers </DT ><DT ><A HREF="function.nsapi-virtual.html" >nsapi_virtual</A > -- Perform an NSAPI sub-request</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.newt-win-ternary.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >起始页</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.nsapi-request-headers.html" ACCESSKEY="N" >下一页</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >newt_win_ternary</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >上一级</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >nsapi_request_headers</TD ></TR ></TABLE ></DIV ></BODY ></HTML >