Marius Burkard
2016-07-08 9bcd2fd54728b9e634442f584268da03acaea633
commit | author | age
413d3b 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
00333e 2 <html><head><title>ISPCOnfig 3 remote API documentation</title>
413d3b 3
T 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_database_add(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span>);</h1>
16 <br>
17 <p class="headgrp">Description: </p>
18 <p class="margin"> Adds a new database.</p><br>
19 <p class="headgrp">Input Variables: </p> 
20 <p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p>
21 <p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
22 <p class="margin"> server_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
39113e 23 <p class="margin"> website_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
413d3b 24 <p class="margin"> type&nbsp;&nbsp;(<span class="paratype">varchar(16)</span>)</p>
T 25 <p class="margin"> database_name&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
10b4c8 26 <p class="margin"> database_user_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
T 27 <p class="margin"> database_ro_user_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
413d3b 28 <p class="margin"> database_password&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
T 29 <p class="margin"> database_charset&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
30 <p class="margin"> remote_access&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
31 <p class="margin"> remote_ips&nbsp;&nbsp;(<span class="paratype">text</span>)</p>
10b4c8 32 <p class="margin"> backup_interval&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
T 33 <p class="margin"> backup_copies&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
413d3b 34 <p class="margin"> active&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
T 35 <p class="headgrp">Output: </p> 
36 <p class="margin"> Returns the ID of the newly added database.</p>
37 <!--<b>Output:</b> 
38 <p style="margin-left:100px">Gives a record of </p> -->
39 </div>
40
41 </body></html>