PHP NSAPI-specific Functions

EditRocket provides the following information on NSAPI-specific functions in the PHP source code builder.

array nsapi_request_headers ( void ) - nsapi_request_headers() gets all the HTTP headers in the current request. This is only supported when PHP runs as a NSAPI module.

array nsapi_response_headers ( void ) - Gets all the NSAPI response headers.

bool nsapi_virtual ( string $uri ) - nsapi_virtual() is an NSAPI-specific function which is equivalent to in SSI (.shtml 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.