PHP 7.0.6 Released

iis_add_server

(PECL iisfunc SVN)

iis_add_serverCreates a new virtual web server

Description

int iis_add_server ( string $path , string $comment , string $server_ip , int $port , string $host_name , int $rights , int $start_server )
Warning

This function is currently not documented; only its argument list is available.

User Contributed Notes

Henning Buss
9 years ago
I have testet some options for the rights.
I think you have to set a Number only with 1 or 0 to activate the options:

<write><only_scripts><script_and_executeables><unknow><read>

For example:
01001
Allows the Read and Script-Onlys Access to the Website.
vesa at flash-db dot com
11 years ago
Remember that only MS 2000 Server/MS 2003 Server can add more than one "server" to IIS 6.0 (IIS < 6 and XP/2k PRO wont support that)

HTH,
Vesa
To Top