Home > PHP > Function > NSAPI > nsapi_virtual()

nsapi_virtual()

nsapi_virtual - Perform an NSAPI sub-request

Syntax

bool nsapi_virtual (string $uri)

Arguments

  • uri - The URI of the script.

Description

nsapi_virtual() is an NSAPI-specific function which is equivalent to <!--#include virtual...-->in SSI(.shtmlfiles). 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.

Version

PHP 4.3.3, 5

Return value

Returns TRUE on success or FALSE on failure.