Till Brehm
2016-07-24 b9a3ef486ebcde18a5ade37865ff8f397185d24f
commit | author | age
413d3b 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
T 2 <html><head><title>ISCPConfig 3 API Functions</title>
3
4   
5
6   
7   
8   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
9   <link rel="stylesheet" type="text/css" href="definitionen.css">
10   <style type="text/css">
11   </style></head>
12
13 <body>
14 <div style="padding:40px">
15 <h1>sites_web_subdomain_update(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$primary_id</span>, <span class="var">$params</span>);</h1>
16 <br>
17 <b>Description: </b>
18 <p class="margin"> Updates a web subdomain if <em>type</em> is <em>subdomain</em>.</p><br>
19 <b>Input Variables: </b> 
20 <p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$primary_id</span>, <span class="var">$params</span></p>
21 <b>Parameters (in <span class="var">$params</span>): </b>
22 <p class="margin"> server_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
23 <p class="margin"> ip_address&nbsp;&nbsp;(<span class="paratype">varchar(39)</span>)</p>
24 <p class="margin"> domain&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
25 <p class="margin"> type&nbsp;&nbsp;(<span class="paratype">varchar(32)</span>)</p>
26 <p class="margin"> parent_domain_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
27 <p class="margin"> vhost_type&nbsp;&nbsp;(<span class="paratype">varchar(32)</span>)</p>
28 <p class="margin"> document_root&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
29 <p class="margin"> system_user&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
30 <p class="margin"> system_group&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
31 <p class="margin"> hd_quota&nbsp;&nbsp;(<span class="paratype">bigint(20)</span>)</p>
32 <p class="margin"> traffic_quota&nbsp;&nbsp;(<span class="paratype">bigint(20)</span>)</p>
33 <p class="margin"> cgi&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
34 <p class="margin"> ssi&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
35 <p class="margin"> suexec&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
36 <p class="margin"> errordocs&nbsp;&nbsp;(<span class="paratype">tinyint(1)</span>)</p>
37 <p class="margin"> is_subdomainwww&nbsp;&nbsp;(<span class="paratype">tinyint(1)</span>)</p>
38 <p class="margin"> subdomain&nbsp;&nbsp;(<span class="paratype">enum('none','www','*')</span>)</p>
39 <p class="margin"> php&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
40 <p class="margin"> ruby&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
41 <p class="margin"> redirect_type&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
42 <p class="margin"> redirect_path&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
43 <p class="margin"> ssl&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
44 <p class="margin"> ssl_state&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
45 <p class="margin"> ssl_locality&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
46 <p class="margin"> ssl_organisation&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
47 <p class="margin"> ssl_organisation_unit&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
48 <p class="margin"> ssl_country&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
49 <p class="margin"> ssl_domain&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
50 <p class="margin"> ssl_request&nbsp;&nbsp;(<span class="paratype">mediumtext</span>)</p>
51 <p class="margin"> ssl_cert&nbsp;&nbsp;(<span class="paratype">mediumtext</span>)</p>
52 <p class="margin"> ssl_bundle&nbsp;&nbsp;(<span class="paratype">mediumtext</span>)</p>
53 <p class="margin"> ssl_action&nbsp;&nbsp;(<span class="paratype">varchar(16)</span>)</p>
54 <p class="margin"> stats_password&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
55 <p class="margin"> stats_type&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
56 <p class="margin"> allow_override&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
57 <p class="margin"> apache_directives&nbsp;&nbsp;(<span class="paratype">mediumtext</span>)</p>
58 <p class="margin"> php_open_basedir&nbsp;&nbsp;(<span class="paratype">mediumtext</span>)</p>
59 <p class="margin"> custom_php_ini&nbsp;&nbsp;(<span class="paratype">mediumtext</span>)</p>
60 <p class="margin"> backup_interval&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
61 <p class="margin"> backup_copies&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
62 <p class="margin"> active&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
63 <p class="margin"> traffic_quota_lock&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
64 <b>Output: </b> 
65 <p class="margin"> Returns the number of affected rows.</p>
66 <!--<b>Output:</b> 
67 <p style="margin-left:100px">Gives a record of </p> -->
68 </div>
69
70 </body></html>