<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<html><head><title>ISPCOnfig 3 remote API documentation</title>
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<link rel="stylesheet" type="text/css" href="definitionen.css">
|
<style type="text/css">
|
</style></head>
|
|
<body>
|
<div style="padding:40px">
|
<h1>sites_database_add(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span>);</h1>
|
<br>
|
<p class="headgrp">Description: </p>
|
<p class="margin"> Adds a new database.</p><br>
|
<p class="headgrp">Input Variables: </p>
|
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p>
|
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
|
<p class="margin"> server_id (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> website_id (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> type (<span class="paratype">varchar(16)</span>)</p>
|
<p class="margin"> database_name (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> database_user_id (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> database_ro_user_id (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> database_password (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> database_charset (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> remote_access (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="margin"> remote_ips (<span class="paratype">text</span>)</p>
|
<p class="margin"> backup_interval (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> backup_copies (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> active (<span class="paratype">enum('n','y')</span>)</p>
|
<p class="headgrp">Output: </p>
|
<p class="margin"> Returns the ID of the newly added database.</p>
|
<!--<b>Output:</b>
|
<p style="margin-left:100px">Gives a record of </p> -->
|
</div>
|
|
</body></html>
|