1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<reference id="ref.iisfunc">
<title>IIS Administration functions</title>
<titleabbrev>IIS Functions</titleabbrev>
<partintro>
<simpara>
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 virtual
directories as well as configuring security and script mapping.
These functions have been added in PHP 4.
</simpara>
</partintro>
<refentry id="function.iis-get-server-by-path">
<refnamediv>
<refname>iis_get_server_by_path</refname>
<refpurpose>Return the instance number associated with the Path</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_get_server_by_path</methodname>
<methodparam><type>string</type><parameter>path</parameter></methodparam>
</methodsynopsis>
<para>
Each vertual server in IIS is associated with an instance number.
<function>iis_get_server_by_path</function> Finds the instance number
from the actual path to the root directory.
</para>
</refsect1>
</refentry>
<refentry id="function.iis-get-server-by-comment">
<refnamediv>
<refname>iis_get_server_by_comment</refname>
<refpurpose>Return the instance number associated with the Comment</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_get_server_by_comment</methodname>
<methodparam><type>string</type><parameter>comment</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-add-server">
<refnamediv>
<refname>iis_add_server</refname>
<refpurpose>Creates a new virtual web server</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_add_server</methodname>
<methodparam><type>string</type><parameter>path</parameter></methodparam>
<methodparam><type>string</type><parameter>comment</parameter></methodparam>
<methodparam><type>string</type><parameter>server_ip</parameter></methodparam>
<methodparam><type>int</type><parameter>port</parameter></methodparam>
<methodparam><type>string</type><parameter>host_name</parameter></methodparam>
<methodparam><type>int</type><parameter>rights</parameter></methodparam>
<methodparam><type>int</type><parameter>start_server</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-remove-server">
<refnamediv>
<refname>iis_remove_server</refname>
<refpurpose>Removes the virtual web server indicated by ServerInstance</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_remove_server</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-set-dir-security">
<refnamediv>
<refname>iis_set_dir_security</refname>
<refpurpose>Sets Directory Security</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_set_dir_security</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
<methodparam><type>int</type><parameter>directory_flags</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-get-dir-security">
<refnamediv>
<refname>iis_get_dir_security</refname>
<refpurpose>Gets Directory Security</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_get_dir_security</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-set-server-rights">
<refnamediv>
<refname>iis_set_server_rights</refname>
<refpurpose>Sets server rights</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_set_server_rights</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
<methodparam><type>int</type><parameter>directory_flags</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-get-server-rights">
<refnamediv>
<refname>iis_get_server_rights</refname>
<refpurpose>Gets server rights</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_get_server_rights</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-set-script-map">
<refnamediv>
<refname>iis_set_script_map</refname>
<refpurpose>Sets script mapping on a virtual directory</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_set_script_map</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
<methodparam><type>string</type><parameter>script_extension</parameter></methodparam>
<methodparam><type>string</type><parameter>engine_path</parameter></methodparam>
<methodparam><type>int</type><parameter>allow_scripting</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-get-script-map">
<refnamediv>
<refname>iis_get_script_map</refname>
<refpurpose>Gets script mapping on a virtual directory for a specific extention</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_get_script_map</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
<methodparam><type>string</type><parameter>script_extension</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-set-app-settings">
<refnamediv>
<refname>iis_set_app_settings</refname>
<refpurpose>Creates application scope for a virtual directory</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_set_app_settings</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
<methodparam><type>string</type><parameter>application_scope</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-start-server">
<refnamediv>
<refname>iis_start_server</refname>
<refpurpose>Starts the virtual web server</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_start_server</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-stop-server">
<refnamediv>
<refname>iis_stop_server</refname>
<refpurpose>Stops the virtual web server</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_stop_server</methodname>
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-stop-service">
<refnamediv>
<refname>iis_stop_service</refname>
<refpurpose>Stops the service defined by ServiceId</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_stop_service</methodname>
<methodparam><type>string</type><parameter>service_id</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-start-service">
<refnamediv>
<refname>iis_start_service</refname>
<refpurpose>Starts the service defined by ServiceId</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_start_service</methodname>
<methodparam><type>string</type><parameter>service_id</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.iis-get-service-state">
<refnamediv>
<refname>iis_get_service_state</refname>
<refpurpose>Starts the service defined by ServiceId</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>iis_get_service_state</methodname>
<methodparam><type>string</type><parameter>service_id</parameter></methodparam>
</methodsynopsis>
<para>
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
|