Name

http_root — Returns the absolute path of the server root directory.

Synopsis

varchar http_root ( );
 

Description

Returns the absolute path of the server root directory.

Return Types

String of the absolute path of the server root directory.

Examples

Example 24.179. Obtaining the Client IP Address

  <?vsp
    http (file_to_string (sprintf ('%s/banner.html', http_root())));
  ?>