🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
仅当在Netscape / iPlanet / Sun Web服务器中将PHP作为NSAPI模块运行时,这些功能才可用 * [预定义常量](https://www.php.net/manual/zh/nsapi.constants.php) * [NSAPI 函数](https://www.php.net/manual/zh/ref.nsapi.php) * [nsapi\_request\_headers](https://www.php.net/manual/zh/function.nsapi-request-headers.php)— 取得所有HTTP头部请求 * [nsapi\_response\_headers](https://www.php.net/manual/zh/function.nsapi-response-headers.php)— 获取所有HTTP响应标头 * [nsapi\_virtual](https://www.php.net/manual/zh/function.nsapi-virtual.php)— 执行NSAPI子请求 NSAPI实现了Apache模块的部分功能,以实现最大的兼容性。 **NSAPI实现的Apache函数** | Apache函数(仅作为别名) | NSAPI功能 | 描述 | | --- | --- | --- | | [apache_request_headers()](https://www.php.net/manual/en/function.apache-request-headers.php) | [nsapi\_request_headers()](https://www.php.net/manual/en/function.nsapi-request-headers.php) | 提取所有HTTP请求标头 | | [apache_response_headers()](https://www.php.net/manual/en/function.apache-response-headers.php) | [nsapi_response_headers()](https://www.php.net/manual/en/function.nsapi-response-headers.php) | 提取所有HTTP响应标头 | | [getallheaders()](https://www.php.net/manual/en/function.getallheaders.php) | [nsapi_request_headers()](https://www.php.net/manual/en/function.nsapi-request-headers.php) | 提取所有HTTP请求标头 | |[virtual()](https://www.php.net/manual/en/function.virtual.php) | [nsapi\_virtual()](https://www.php.net/manual/en/function.nsapi-virtual.php) | 使NSAPI成为子请求 |