Home > PHP > Function > IIS > iis_get_server_by_path()

iis_get_server_by_path()

iis_get_server_by_path - Return the instance number associated with the Path

Syntax

int iis_get_server_by_path (string $path)

Arguments

  • path - The path to the root directory

Description

Each virtual server in IIS is associated with an instance number. iis_get_server_by_path() finds the instance number from the actual path to the root directory.

Version

PHP PECL iisfunc SVN

Return value

Returns the server instance number.