iis_add_server

(PECL iisfunc SVN)

iis_add_serverCreates a new virtual web server

说明

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

本函数还未编写文档,仅有参数列表。

User Contributed Notes

Henning Buss 04-Mar-2007 12:27
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 18-Mar-2005 06:01
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