XC. NSAPI-specific Functions

简介

These functions are only available when running PHP as a NSAPI module in Netscape/iPlanet/SunONE webservers.

安装

For PHP installation on Netscape/iPlanet/SunONE webservers see the NSAPI section ( UNIX , Windows ) in the installation chapter.

运行时配置

The behaviour of the NSAPI PHP module is affected by settings in php.ini . Configuration settings from php.ini may be overridden by additional parameters to the php4_execute call in obj.conf

表格 1. NSAPI configuration options

Name Default Changeable Changelog
nsapi.read_timeout "60" PHP_INI_ALL Available since PHP 4.3.3.
有关 PHP_INI_* 常量进一步的细节与定义参见 附录 G

以下是配置选项的简要解释。

nsapi.read_timeout integer

Sets the time in seconds the plugin is waiting for POST data from the client.

资源类型

本扩展模块未定义任何资源类型。

预定义常量

本扩展模块未定义任何常量。

参见

NSAPI implements a subset of the functions from the Apache module for maximum compatibility.

表格 2. Apache functions implemented by NSAPI

Apache function (only as alias) NSAPI function Description
apache_request_headers() nsapi_request_headers() Fetch all HTTP request headers
apache_response_headers() nsapi_response_headers() Fetch all HTTP response headers
getallheaders() nsapi_request_headers() Fetch all HTTP request headers
virtual() nsapi_virtual() Make NSAPI sub-request

目录
nsapi_request_headers  -- Fetch all HTTP request headers
nsapi_response_headers  --  Fetch all HTTP response headers
nsapi_virtual  -- Perform an NSAPI sub-request