From e4019d05ba054403d90b2d5c6259eae892a7556b Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Wed, 14 Nov 2001 19:04:15 +0000 Subject: [PATCH] Adding basic documentation for the IIS functions. More text to be added. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62433 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/iisfunc.xml | 345 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 345 insertions(+) create mode 100644 functions/iisfunc.xml diff --git a/functions/iisfunc.xml b/functions/iisfunc.xml new file mode 100644 index 0000000000..00a3fdc071 --- /dev/null +++ b/functions/iisfunc.xml @@ -0,0 +1,345 @@ + + + + IIS Administration functions + IIS Functions + + + + This extension is available for Win32 only. It provides functions + to administrate Microsoft Internet Information Server (IIS). + The extension includes function to create web sites and vertual + directories as well as configuring security and script mapping. + These functions have been added in PHP 4. + + + + + + iis_get_server_by_path + Return the instance number associated with the Path + + + Description + + + int iis_get_server_by_path + string path + + + + Each vertual 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. + + + + + + + iis_get_server_by_comment + Return the instance number associated with the Comment + + + Description + + + int iis_get_server_by_comment + string comment + + + + + + + + + + iis_add_server + Creates 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 + + + + + + + + + + iis_remove_server + Removes the virtual web server indicated by ServerInstance + + + Description + + + int iis_remove_server + int server_instance + + + + + + + + + + iis_set_dir_security + Sets Directory Security + + + Description + + + int iis_set_dir_security + int server_instance + string virtual_path + int directory_flags + + + + + + + + + + iis_get_dir_security + Gets Directory Security + + + Description + + + int iis_get_dir_security + int server_instance + string virtual_path + + + + + + + + + + iis_set_server_rights + Sets server rights + + + Description + + + int iis_set_server_rights + int server_instance + string virtual_path + int directory_flags + + + + + + + + + + iis_get_server_rights + Gets server rights + + + Description + + + int iis_get_server_rights + int server_instance + string virtual_path + + + + + + + + + + iis_set_script_map + Sets script mapping on a virtual directory + + + Description + + + int iis_set_script_map + int server_instance + string virtual_path + string script_extension + string engine_path + int allow_scripting + + + + + + + + + + iis_get_script_map + Gets script mapping on a virtual directory for a specific extention + + + Description + + + int iis_get_script_map + int server_instance + string virtual_path + string script_extension + + + + + + + + + + iis_set_app_settings + Creates application scope for a virtual directory + + + Description + + + int iis_set_app_settings + int server_instance + string virtual_path + string application_scope + + + + + + + + + + iis_start_server + Starts the virtual web server + + + Description + + + int iis_start_server + int server_instance + + + + + + + + + + iis_stop_server + Stops the virtual web server + + + Description + + + int iis_stop_server + int server_instance + + + + + + + + + + iis_stop_service + Stops the service defined by ServiceId + + + Description + + + int iis_stop_service + string service_id + + + + + + + + + + iis_start_service + Starts the service defined by ServiceId + + + Description + + + int iis_start_service + string service_id + + + + + + + + + + iis_get_service_state/refname> + Starts the service defined by ServiceId + + + Description + + + int iis_get_service_state + string service_id + + + + + + + + + +