pax_global_header 0000666 0000000 0000000 00000000064 13165422750 0014517 g ustar 00root root 0000000 0000000 52 comment=b5538a812e53de6f76208944715151ed09dde03c
ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/ 0000775 0000000 0000000 00000000000 13165422750 0023532 5 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/ 0000775 0000000 0000000 00000000000 13165422750 0026714 5 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs/ 0000775 0000000 0000000 00000000000 13165422750 0030253 5 ustar 00root root 0000000 0000000 client_add.html 0000664 0000000 0000000 00000014500 13165422750 0033150 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_add($session_id , $reseller_id , $params );
Description:
Adds a new client.
Input Variables:
$session_id , $reseller_id , $params
Parameters (in $params ):
company_name (varchar(64) )
contact_name (varchar(64) )
customer_no (varchar(64) )
vat_id (varchar(64) )
street (varchar(255) )
zip (varchar(32) )
city (varchar(64) )
state (varchar(32) )
country (char(2) )
telephone (varchar(32) )
mobile (varchar(32) )
fax (varchar(32) )
email (varchar(255) )
internet (varchar(255) )
icq (varchar(16) )
notes (text )
default_mailserver (int(11) )
limit_maildomain (int(11) )
limit_mailbox (int(11) )
limit_mailalias (int(11) )
limit_mailaliasdomain (int(11) )
limit_mailforward (int(11) )
limit_mailcatchall (int(11) )
limit_mailrouting (int(11) )
limit_mailfilter (int(11) )
limit_fetchmail (int(11) )
limit_mailquota (int(11) )
limit_spamfilter_wblist (int(11) )
limit_spamfilter_user (int(11) )
limit_spamfilter_policy (int(11) )
default_webserver (int(11) )
limit_web_ip (text )
limit_web_domain (int(11) )
limit_web_quota (int(11) )
web_php_options (varchar(255) )
limit_web_subdomain (int(11) )
limit_web_aliasdomain (int(11) )
limit_ftp_user (int(11) )
limit_shell_user (int(11) )
ssh_chroot (varchar(255) )
limit_webdav_user (int(11) )
default_dnsserver (int(11) )
limit_dns_zone (int(11) )
limit_dns_slave_zone (int(11) )
limit_dns_record (int(11) )
default_dbserver (int(11) )
limit_database (int(11) )
limit_cron (int(11) )
limit_cron_type (enum('url','chrooted','full') )
limit_cron_frequency (int(11) )
limit_traffic_quota (int(11) )
limit_client (varchar(64) )
parent_client_id (int(11) )
username (varchar(64) )
password (varchar(64) )
language (char(2) )
usertheme (varchar(32) )
template_master (int(11) )
template_additional (varchar(255) )
created_at (bigint(20) )
Output:
Returns the ID of the newly added Client.
client_change_password.html 0000664 0000000 0000000 00000002367 13165422750 0035577 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_change_password($session_id , $client_id , $new_password );
Description:
Changes a client's password.
Input Variables:
$session_id , $client_id , $new_password
Parameters (in $params ):
None
Output:
Returns '1' if password has been changed.
SQL Interaction:
"SELECT client_id FROM client WHERE client_id = ".$client_id
client_delete.html 0000664 0000000 0000000 00000001772 13165422750 0033671 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_delete($session_id , $client_id );
Description:
Deletes a client.
Input Variables:
$session_id , $client_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
client_delete_everything.html 0000664 0000000 0000000 00000002163 13165422750 0036130 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_delete_everything($session_id , $client_id );
Description:
Deletes client.
Input Variables:
$session_id , $client_id
Parameters (in $params ):
None
Output:
SQL Interaction:
"SELECT groupid FROM sys_group WHERE client_id = $client_id "
client_get.html 0000664 0000000 0000000 00000002031 13165422750 0033173 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_get($session_id , $client_id );
Description:
Retrieves information about a client.
Input Variables:
$session_id , $client_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen client.
client_get_by_username.html 0000664 0000000 0000000 00000002302 13165422750 0035565 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_get_by_username($session_id , $username );
Description:
Shows client information of user.
Input Variables:
$session_id , $username
Parameters (in $params ):
None
Output:
Returns client information of the user specified by his or her name.
SQL Interaction:
"SELECT * FROM sys_user WHERE username = '".$username ."'"
client_get_id.html 0000664 0000000 0000000 00000002063 13165422750 0033654 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_get_id($session_id , $sys_userid );
Description:
Retrieves the client ID of the system user.
Input Variables:
$session_id , $sys_userid
Parameters (in $params ):
None
Output:
Returns the client ID of the user with the entered system user ID.
client_get_sites_by_user.html 0000664 0000000 0000000 00000002735 13165422750 0036145 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_get_sites_by_user($session_id , $sys_userid , $sys_groupid );
Description:
Shows sites of a single user.
Input Variables:
$session_id , $sys_userid , $sys_groupid
Parameters (in $params ):
None
Output:
Shows sites and its values belonging to the specified user.
SQL Interaction:
"SELECT domain, domain_id, document_root, active FROM web_domain WHERE ( (sys_userid = $sys_userid AND sys_perm_user LIKE '%r%') OR (sys_groupid IN ($group_list ) AND sys_perm_group LIKE '%r%') OR sys_perm_other LIKE '%r%') AND type = 'vhost'"
client_templates_get_all.html 0000664 0000000 0000000 00000002105 13165422750 0036103 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_templates_get_all($session_id );
Description:
Returns all client templates.
Input Variables:
$session_id
Parameters (in $params ):
None.
Output:
Returns an array with the parameter values of all client templates.
SQL Interaction:
"SELECT * FROM client_template"
client_update.html 0000664 0000000 0000000 00000014507 13165422750 0033711 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
client_update($session_id , $client_id , $reseller_id , $params );
Description:
Updates a client.
Input Variables:
$session_id , $client_id , $reseller_id , $params
Parameters (in $params ):
company_name (varchar(64) )
contact_name (varchar(64) )
customer_no (varchar(64) )
vat_id (varchar(64) )
street (varchar(255) )
zip (varchar(32) )
city (varchar(64) )
state (varchar(32) )
country (char(2) )
telephone (varchar(32) )
mobile (varchar(32) )
fax (varchar(32) )
email (varchar(255) )
internet (varchar(255) )
icq (varchar(16) )
notes (text )
default_mailserver (int(11) )
limit_maildomain (int(11) )
limit_mailbox (int(11) )
limit_mailalias (int(11) )
limit_mailaliasdomain (int(11) )
limit_mailforward (int(11) )
limit_mailcatchall (int(11) )
limit_mailrouting (int(11) )
limit_mailfilter (int(11) )
limit_fetchmail (int(11) )
limit_mailquota (int(11) )
limit_spamfilter_wblist (int(11) )
limit_spamfilter_user (int(11) )
limit_spamfilter_policy (int(11) )
default_webserver (int(11) )
limit_web_ip (text )
limit_web_domain (int(11) )
limit_web_quota (int(11) )
web_php_options (varchar(255) )
limit_web_subdomain (int(11) )
limit_web_aliasdomain (int(11) )
limit_ftp_user (int(11) )
limit_shell_user (int(11) )
ssh_chroot (varchar(255) )
limit_webdav_user (int(11) )
default_dnsserver (int(11) )
limit_dns_zone (int(11) )
limit_dns_slave_zone (int(11) )
limit_dns_record (int(11) )
default_dbserver (int(11) )
limit_database (int(11) )
limit_cron (int(11) )
limit_cron_type (enum('url','chrooted','full') )
limit_cron_frequency (int(11) )
limit_traffic_quota (int(11) )
limit_client (varchar(64) )
parent_client_id (int(11) )
username (varchar(64) )
password (varchar(64) )
language (char(2) )
usertheme (varchar(32) )
template_master (int(11) )
template_additional (varchar(255) )
created_at (bigint(20) )
Output:
Returns the number of affected rows.
content.html 0000664 0000000 0000000 00000002012 13165422750 0032527 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
Home
ISPConfig 3 remote API documentation.
definitionen.css 0000664 0000000 0000000 00000001562 13165422750 0033365 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs .command {
padding: 1em;
border: 1px dashed #2f6fab;
color: black;
background-color: #f9f9f9;
line-height: 1.1em;
font-family: Courier New, Courier, mono;
font-size: 12px;
font-style: italic;
}
.system {
color: black;
font-family: Courier New, Courier, mono;
font-size: 12px;
font-style: italic;
}
.highlight {
color: #FF0000;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 12px;
text-decoration: underline;
}
.headdescr {
color: black;
font-weight: bold;
}
.headinput {
color: black;
font-weight: bold;
}
.headparams {
color: black;
font-weight: bold;
}
.headoutput {
color: black;
font-weight: bold;
}
.headgrp {
color: black;
font-weight: bold;
}
.var {
color: #A17FFF;
}
.margin {
margin-left: 100px;
}
.paratype {
color: #2B8A60;
}
dns_a_add.html 0000664 0000000 0000000 00000003715 13165422750 0032764 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_a_add($session_id , $client_id , $params );
Description:
Adds a dns IPv4 record if type is a .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx''naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added IPv4 resource record.
dns_a_delete.html 0000664 0000000 0000000 00000002023 13165422750 0033465 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_a_delete($session_id , $primary_id );
Description:
Deletes target dns IPv4 resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_a_get.html 0000664 0000000 0000000 00000002103 13165422750 0033001 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_a_get($session_id , $primary_id );
Description:
Retrieves information about target dns IPv4 resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns IPv4 resource record.
dns_a_update.html 0000664 0000000 0000000 00000003724 13165422750 0033516 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_a_update($session_id , $client_id , $primary_id , $params );
Description:
Updates an IPv4 record if type is a .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx''naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_aaaa_add.html 0000664 0000000 0000000 00000003734 13165422750 0033430 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_aaaa_add($session_id , $client_id , $params );
Description:
Adds a dns IPv6 resource record if type is aaaa .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx''naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added IPv6 resource record.
dns_aaaa_delete.html 0000664 0000000 0000000 00000002026 13165422750 0034133 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_aaaa_delete($session_id , $primary_id );
Description:
Deletes target dns IPv6 resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_aaaa_get.html 0000664 0000000 0000000 00000002106 13165422750 0033447 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_aaaa_get($session_id , $primary_id );
Description:
Retrieves information about target dns IPv6 resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns IPv6 resource record.
dns_aaaa_update.html 0000664 0000000 0000000 00000003746 13165422750 0034165 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_aaaa_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns IPv6 resource record if type is aaaa .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx''naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_alias_add.html 0000664 0000000 0000000 00000003744 13165422750 0033637 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_alias_add($session_id , $client_id , $params );
Description:
Adds a dns server side alias record if type is alias .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added alias resource record.
dns_alias_delete.html 0000664 0000000 0000000 00000002030 13165422750 0034334 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_alias_delete($session_id , $primary_id );
Description:
Deletes target dns alias resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_alias_get.html 0000664 0000000 0000000 00000002120 13165422750 0033651 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_alias_get($session_id , $primary_id );
Description:
Retrieves information about a dns server side alias resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns alias resource record.
dns_alias_update.html 0000664 0000000 0000000 00000003755 13165422750 0034373 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_alias_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns server side alias record if type is alias .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_cname_add.html 0000664 0000000 0000000 00000003747 13165422750 0033634 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_cname_add($session_id , $client_id , $params );
Description:
Adds a dns canonical alias name record if type is cname .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added cname resource record.
dns_cname_delete.html 0000664 0000000 0000000 00000002030 13165422750 0034326 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_cname_delete($session_id , $primary_id );
Description:
Deletes target dns cname resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_cname_get.html 0000664 0000000 0000000 00000002111 13165422750 0033643 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_cname_get($session_id , $primary_id );
Description:
Retrieves information about target dns cname resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns cname resource record.
dns_cname_update.html 0000664 0000000 0000000 00000003760 13165422750 0034361 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_cname_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns canonical alias name record if type is cname .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_hinfo_add.html 0000664 0000000 0000000 00000003743 13165422750 0033650 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_hinfo_add($session_id , $client_id , $params );
Description:
Adds a dns host information record if type is hinfo .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added hinfo resource record.
dns_hinfo_delete.html 0000664 0000000 0000000 00000002030 13165422750 0034346 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_hinfo_delete($session_id , $primary_id );
Description:
Deletes target dns hinfo resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_hinfo_get.html 0000664 0000000 0000000 00000002111 13165422750 0033663 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_hinfo_get($session_id , $primary_id );
Description:
Retrieves information about target dns hinfo resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns hinfo resource record.
dns_hinfo_update.html 0000664 0000000 0000000 00000003754 13165422750 0034404 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_hinfo_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns host information record if type is hinfo .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_mx_add.html 0000664 0000000 0000000 00000003730 13165422750 0033165 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_mx_add($session_id , $client_id , $params );
Description:
Adds a dns mail exchanger record if type is mx .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added mx resource record.
dns_mx_delete.html 0000664 0000000 0000000 00000002022 13165422750 0033670 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_mx_delete($session_id , $primary_id );
Description:
Deletes target dns mx resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_mx_get.html 0000664 0000000 0000000 00000002100 13165422750 0033202 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_mx_get($session_id , $primary_id );
Description:
Retrieves information about target dns mx resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns mx resource record.
dns_mx_update.html 0000664 0000000 0000000 00000003744 13165422750 0033724 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_mx_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns mail exchanger record if type is mx .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_ns_add.html 0000664 0000000 0000000 00000003742 13165422750 0033164 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_ns_add($session_id , $client_id , $params );
Description:
Adds a dns authoritative nameserver record if type is ns .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added ns resource record.
dns_ns_delete.html 0000664 0000000 0000000 00000002022 13165422750 0033664 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_ns_delete($session_id , $primary_id );
Description:
Deletes target dns ns resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_ns_get.html 0000664 0000000 0000000 00000002100 13165422750 0033176 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_ns_get($session_id , $primary_id );
Description:
Retrieves information about target dns ns resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns ns resource record.
dns_ns_update.html 0000664 0000000 0000000 00000003753 13165422750 0033720 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_ns_update($session_id , $client_id , $primary_id , $params );
Description:
Updates an authoritative nameserver record if type is ns .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_ptr_add.html 0000664 0000000 0000000 00000003740 13165422750 0033347 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_ptr_add($session_id , $client_id , $params );
Description:
Adds a dns domain name pointer record if type is ptr .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added ptr resource record.
dns_ptr_delete.html 0000664 0000000 0000000 00000002024 13165422750 0034053 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_ptr_delete($session_id , $primary_id );
Description:
Deletes target dns ptr resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_ptr_get.html 0000664 0000000 0000000 00000002103 13165422750 0033366 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_ptr_get($session_id , $primary_id );
Description:
Retrieves information about target dns ptr resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns ptr resource record.
dns_ptr_update.html 0000664 0000000 0000000 00000003753 13165422750 0034105 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_ptr_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns domain name pointer record if type is ptr .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_rp_add.html 0000664 0000000 0000000 00000003734 13165422750 0033166 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_rp_add($session_id , $client_id , $params );
Description:
Adds a dns responsible person record if type is rp .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added rp resource record.
dns_rp_delete.html 0000664 0000000 0000000 00000002022 13165422750 0033665 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_rp_delete($session_id , $primary_id );
Description:
Deletes target dns rp resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_rp_get.html 0000664 0000000 0000000 00000002100 13165422750 0033177 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_rp_get($session_id , $primary_id );
Description:
Retrieves information about target dns rp resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns rp resource record.
dns_rp_update.html 0000664 0000000 0000000 00000003750 13165422750 0033716 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_rp_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns responsible person record if type is rp .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_rr_get_all_by_zone.html 0000664 0000000 0000000 00000002271 13165422750 0035567 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_rr_get_all_by_zone($session_id , $zone_id );
Description:
Shows information about a zone's resource records.
Input Variables:
$session_id , $zone_id
Parameters (in $params ):
None
Output:
Returns a record of the zone's parameter values.
SQL Interaction:
"SELECT * FROM dns_rr WHERE zone = ".intval($zone_id )
dns_srv_add.html 0000664 0000000 0000000 00000003734 13165422750 0033357 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_srv_add($session_id , $client_id , $params );
Description:
Adds a dns server location record if type is srv .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added srv resource record.
dns_srv_delete.html 0000664 0000000 0000000 00000002024 13165422750 0034060 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_srv_delete($session_id , $primary_id );
Description:
Deletes target dns srv resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_srv_get.html 0000664 0000000 0000000 00000002103 13165422750 0033373 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_srv_get($session_id , $primary_id );
Description:
Retrieves information about target dns srv resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns srv resource record.
dns_srv_update.html 0000664 0000000 0000000 00000003747 13165422750 0034115 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_srv_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns server location record if type is srv .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_txt_add.html 0000664 0000000 0000000 00000003730 13165422750 0033360 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_txt_add($session_id , $client_id , $params );
Description:
Adds a dns text string record if type is txt .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the ID of the newly added txt resource record.
dns_txt_delete.html 0000664 0000000 0000000 00000002024 13165422750 0034065 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_txt_delete($session_id , $primary_id );
Description:
Deletes target dns txt resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_txt_get.html 0000664 0000000 0000000 00000002103 13165422750 0033400 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_txt_get($session_id , $primary_id );
Description:
Retrieves information about target dns txt resource record.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns txt resource record.
dns_txt_update.html 0000664 0000000 0000000 00000003743 13165422750 0034116 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_txt_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns text string record if type is txt .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
zone (int(11) )
name (varchar(64) )
type (enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt') )
data (varchar(255) )
aux (int(11) )
ttl (int(11) )
active (enum('n','y') )
stamp (timestamp )
serial (int(10) )
Output:
Returns the number of affected rows.
dns_zone_add.html 0000664 0000000 0000000 00000004300 13165422750 0033506 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_zone_add($session_id , $client_id , $params );
Description:
Adds a new dns zone.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
origin (varchar(255) )
ns (varchar(255) )
mbox (varchar(255) )
serial (int(11) )
refresh (int(11) )
retry (retry(11) )
expire (int(11) )
minimum (int(11) )
ttl (int(11) )
active (enum('n','y') )
xfer (varchar(255) )
also_notify (varchar(255) )
update_acl (varchar(255) )
Output:
Returns the ID of the newly added dns zone.
dns_zone_delete.html 0000664 0000000 0000000 00000002000 13165422750 0034213 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_zone_delete($session_id , $primary_id );
Description:
Deletes a dns zone.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
dns_zone_get.html 0000664 0000000 0000000 00000002041 13165422750 0033535 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_zone_get($session_id , $primary_id );
Description:
Retrieves information about a dns zone.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen dns zone.
dns_zone_get_by_user.html 0000664 0000000 0000000 00000002571 13165422750 0035275 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_zone_get_by_user($session_id , $client_id , $server_id );
Description:
Shows information about a client's zones.
Input Variables:
$session_id , $client_id , $server_id
Parameters (in $params ):
None
Output:
Returns a record of parameters of the client's zones.
SQL Interaction:
"SELECT id, origin FROM dns_soa d INNER JOIN sys_user s on(d.sys_groupid = s.default_group) WHERE client_id = $client_id AND server_id = $server_id "
dns_zone_set_status.html 0000664 0000000 0000000 00000002572 13165422750 0035165 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_zone_set_status($session_id , $primary_id , $status );
Description:
Switches a zone's status to either 'active' or 'inactive'.
Input Variables:
$session_id , $primary_id , $status
Parameters (in $params ):
None
Output:
Returns '1' if status has been changed or '0' if no changes were taken.
SQL Interaction (if status is changed to 'active'):
"UPDATE dns_soa SET active = '$status ' WHERE id = ".intval($primary_id )
dns_zone_update.html 0000664 0000000 0000000 00000004322 13165422750 0034244 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
dns_zone_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a dns zone.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
origin (varchar(255) )
ns (varchar(255) )
mbox (varchar(255) )
serial (int(11) )
refresh (int(11) )
retry (retry(11) )
expire (int(11) )
minimum (int(11) )
ttl (int(11) )
active (enum('n','y') )
xfer (varchar(255) )
also_notify (varchar(255) )
update_acl (varchar(255) )
Output:
Returns the number of affected rows.
domains_domain_add.html 0000664 0000000 0000000 00000002202 13165422750 0034647 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
domains_domain_add($session_id , $client_id , $params );
Description:
Adds a new domain.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
domain (varchar(255) )
Output:
Returns the ID of the newly added domain.
domains_domain_delete.html 0000664 0000000 0000000 00000002004 13165422750 0035361 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
domains_domain_delete($session_id , $primary_id );
Description:
Deletes a domain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
domains_domain_get.html 0000664 0000000 0000000 00000002043 13165422750 0034701 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
domains_domain_get($session_id , $primary_id );
Description:
Retrieves information about a domain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen domain.
domains_get_all_by_user.html 0000664 0000000 0000000 00000002332 13165422750 0035733 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
domains_get_all_by_user($session_id , $group_id );
Description:
Returns information about the domains of the system group.
Input Variables:
$session_id , $group_id
Parameters (in $params ):
None.
Output:
Returns an array with the domain parameters' values.
SQL Interaction:
"SELECT domain_id, domain FROM domain WHERE sys_groupid = $group_id "
get_function_list.html 0000664 0000000 0000000 00000001736 13165422750 0034610 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
get_function_list($session_id );
Description:
Shows all available remote API functions.
Input Variables:
$session_id
Parameters (in $params ):
None
Output:
Returns a record of all available remote API functions.
index.html 0000664 0000000 0000000 00000001753 13165422750 0032177 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
login.html 0000664 0000000 0000000 00000002276 13165422750 0032201 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
login($username , $password );
Description:
Starts a new remote session.
Input Variables:
$username , $password
Parameters (in $params ):
None.
Output:
Returns session ID.
SQL Interaction:
"SELECT * FROM remote_user WHERE remote_username = '$username' and remote_password = md5('$password ')"
logout.html 0000664 0000000 0000000 00000002047 13165422750 0032376 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
logout($session_id );
Description:
Cancels a remote session.
Input Variables:
$session_id
Parameters (in $params ):
None.
Output:
SQL Interaction:
"DELETE FROM remote_session WHERE remote_session = '$session_id '"
mail_alias_add.html 0000664 0000000 0000000 00000003037 13165422750 0033770 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_alias_add($session_id , $client_id , $params );
Description:
Adds a new mail alias if type is alias .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
destination (text )
type (enum('alias','aliasdomain','forward','catchall') )
active (enum('n','y') )
Output:
Returns the ID of the newly added mail alias.
mail_alias_delete.html 0000664 0000000 0000000 00000002004 13165422750 0034473 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_alias_delete($session_id , $primary_id );
Description:
Deletes a mail alias.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_alias_get.html 0000664 0000000 0000000 00000002047 13165422750 0034017 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_alias_get($session_id , $primary_id );
Description:
Retrieves information about a mail alias.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail alias.
mail_alias_update.html 0000664 0000000 0000000 00000003044 13165422750 0034520 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_alias_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail alias if type is alias .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
destination (text )
type (enum('alias','aliasdomain','forward','catchall') )
active (enum('n','y') )
Output:
Returns the number of affected rows.
mail_blacklist_add.html 0000664 0000000 0000000 00000003057 13165422750 0034651 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_blacklist_add($session_id , $client_id , $params );
Description:
Adds a new mail blacklist entry if access is REJECT .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
access (varchar(255) )
type (set('recipient','sender','client') )
active (enum('n','y') )
Output:
Returns the ID of the newly added mail blacklist entry.
mail_blacklist_delete.html 0000664 0000000 0000000 00000002022 13165422750 0035352 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_blacklist_delete($session_id , $primary_id );
Description:
Deletes a mail blacklist entry.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_blacklist_get.html 0000664 0000000 0000000 00000002077 13165422750 0034701 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_blacklist_get($session_id , $primary_id );
Description:
Retrieves information about a mail blacklist entry.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail blacklist entry.
mail_blacklist_update.html 0000664 0000000 0000000 00000003024 13165422750 0035375 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_blacklist_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail blacklist entry if access is REJECT .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
access (varchar(255) )
type (set('recipient','sender','client') )
active (enum('n','y') )
Output:
Returns the number of affected rows.
mail_catchall_add.html 0000664 0000000 0000000 00000003053 13165422750 0034450 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_catchall_add($session_id , $client_id , $params );
Description:
Adds a new mail catchall if type is catchall .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
destination (text )
type (enum('alias','aliasdomain','forward','catchall') )
active (enum('n','y') )
Output:
Returns the ID of the newly added mail catchall.
mail_catchall_delete.html 0000664 0000000 0000000 00000002012 13165422750 0035154 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_catchall_delete($session_id , $primary_id );
Description:
Deletes a mail catchall.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_catchall_get.html 0000664 0000000 0000000 00000002060 13165422750 0034474 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_catchall_get($session_id , $primary_id );
Description:
Retrieves information about a mail catchall.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail catchall.
mail_catchall_update.html 0000664 0000000 0000000 00000003055 13165422750 0035204 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_catchall_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail catchall if type is catchall .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
destination (text )
type (enum('alias','aliasdomain','forward','catchall') )
active (enum('n','y') )
Output:
Returns the number of affected rows.
mail_domain_add.html 0000664 0000000 0000000 00000002464 13165422750 0034151 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_domain_add($session_id , $client_id , $params );
Description:
Adds a new mail domain.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
domain (varchar(255) )
active (enum('n','y') )
Output:
Returns the ID of the newly added mail domain.
mail_domain_delete.html 0000664 0000000 0000000 00000002006 13165422750 0034653 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_domain_delete($session_id , $primary_id );
Description:
Deletes a mail domain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_domain_get.html 0000664 0000000 0000000 00000002053 13165422750 0034172 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_domain_get($session_id , $primary_id );
Description:
Retrieves information about a mail domain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail domains.
mail_domain_get_by_domain.html 0000664 0000000 0000000 00000002267 13165422750 0036222 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_domain_get_by_domain($session_id , $domain );
Description:
Shows information about target mail domain.
Input Variables:
$session_id , $domain
Parameters (in $params ):
None
Output:
Returns a record of parameters of target mail domain.
SQL Interaction:
"SELECT * FROM mail_domain WHERE domain = '$domain '"
mail_domain_set_status.html 0000664 0000000 0000000 00000002617 13165422750 0035617 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_domain_set_status($session_id , $primary_id , $status );
Description:
Switches a mail domain's status to either 'active' or 'inactive'.
Input Variables:
$session_id , $primary_id , $status
Parameters (in $params ):
None
Output:
Returns '1' if status has been changed or '0' if no changes were taken.
SQL Interaction (if status is changed to 'active'):
"UPDATE mail_domain SET active = '$status ' WHERE domain_id = ".intval($primary_id )
mail_domain_update.html 0000664 0000000 0000000 00000002503 13165422750 0034675 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_domain_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail domain.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
domain (varchar(255) )
active (enum('n','y') )
Output:
Returns the number of affected rows.
mail_fetchmail_add.html 0000664 0000000 0000000 00000003541 13165422750 0034633 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_fetchmail_add($session_id , $client_id , $params );
Description:
Adds a new fetchmail.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
type (varchar(255) )
source_server (varchar(255) )
source_username (varchar(255) )
source_password (varchar(64) )
source_delete (varchar(255) )
destination (varchar(255) )
active (varchar(255) )
source_read_all (varchar(255) )
Output:
Returns the ID of the newly added fetchmail.
mail_fetchmail_delete.html 0000664 0000000 0000000 00000002007 13165422750 0035341 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_fetchmail_delete($session_id , $primary_id );
Description:
Deletes a fetchmail.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_fetchmail_get.html 0000664 0000000 0000000 00000002051 13165422750 0034655 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_fetchmail_get($session_id , $primary_id );
Description:
Retrieves information about a fetchmail.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen fetchmail.
mail_fetchmail_update.html 0000664 0000000 0000000 00000003521 13165422750 0035363 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_fetchmail_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a fetchmail.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
type (varchar(255) )
source_server (varchar(255) )
source_username (varchar(255) )
source_password (varchar(64) )
source_delete (varchar(255) )
destination (varchar(255) )
active (varchar(255) )
source_read_all (varchar(255) )
Output:
Returns the number of affected rows.
mail_forward_add.html 0000664 0000000 0000000 00000003055 13165422750 0034343 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_forward_add($session_id , $client_id , $params );
Description:
Adds a new mail forwarding if type is forward .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
destination (text )
type (enum('alias','aliasdomain','forward','catchall') )
active (enum('n','y') )
Output:
Returns the ID of the newly added mail forwarding.
mail_forward_delete.html 0000664 0000000 0000000 00000002013 13165422750 0035046 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_forward_delete($session_id , $primary_id );
Description:
Deletes a mail forwarding.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_forward_get.html 0000664 0000000 0000000 00000002063 13165422750 0034370 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_forward_get($session_id , $primary_id );
Description:
Retrieves information about a mail forwarding.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail forwarding.
mail_forward_update.html 0000664 0000000 0000000 00000003055 13165422750 0035075 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_forward_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail forwarding if type is forward .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
destination (text )
type (enum('alias','aliasdomain','forward','catchall') )
active (enum('n','y') )
Output:
Returns the number of affected rows.
mail_mailinglist_add.html 0000664 0000000 0000000 00000002747 13165422750 0035222 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_mailinglist_add($session_id , $client_id , $params );
Description:
Adds a new mailinglist.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
domain (varchar(255) )
listname (varchar(255) )
email (varchar(255) )
password (varchar(255) )
Output:
Returns the ID of the newly added mailinglist.
mail_mailinglist_delete.html 0000664 0000000 0000000 00000002013 13165422750 0035716 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_mailinglist_delete($session_id , $primary_id );
Description:
Deletes a mailinglist.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_mailinglist_get.html 0000664 0000000 0000000 00000002057 13165422750 0035243 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_mailinglist_get($session_id , $primary_id );
Description:
Retrieves information about a mailinglist.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mailinglist.
mail_mailinglist_update.html 0000664 0000000 0000000 00000002766 13165422750 0035755 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_mailinglist_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mailinglist.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
domain (varchar(255) )
listname (varchar(255) )
email (varchar(255) )
password (varchar(255) )
Output:
Returns the number of affected rows.
mail_policy_add.html 0000664 0000000 0000000 00000011020 13165422750 0034165 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_policy_add($session_id , $client_id , $params );
Description:
Adds a new mail policy.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
policy_name (varchar(64) )
virus_lover (enum('N','Y') )
spam_lover (enum('N','Y') )
banned_files_lover (enum('N','Y') )
bad_header_lover (enum('N','Y') )
bypass_virus_checks (enum('N','Y') )
bypass_spam_checks (enum('N','Y') )
bypass_banned_checks (enum('N','Y') )
bypass_header_checks (enum('N','Y') )
spam_modifies_subj (enum('N','Y') )
virus_quarantine_to (varchar(255) )
spam_quarantine_to (varchar(255) )
banned_quarantine_to (varchar(255) )
bad_header_quarantine_to (varchar(255) )
clean_quarantine_to (varchar(255) )
other_quarantine_to (varchar(255) )
spam_tag_level (float )
spam_tag2_level (float )
spam_kill_level (float )
spam_dsn_cutoff_level (float )
spam_quarantine_cutoff_level (float )
addr_extension_virus (varchar(64) )
addr_extension_spam (varchar(64) )
addr_extension_banned (varchar(64) )
addr_extension_bad_header (varchar(64) )
warnvirusrecip (enum('N','Y') )
warnbannedrecip (enum('N','Y') )
warnbadhrecip (enum('N','Y') )
newvirus_admin (varchar(64) )
virus_admin (varchar(64) )
banned_admin (varchar(64) )
bad_header_admin (varchar(64) )
spam_admin (varchar(64) )
spam_subject_tag (varchar(64) )
spam_subject_tag2 (varchar(64) )
message_size_limit (int(11) )
banned_rulenames (varchar(64) )
Output:
Returns the ID of the newly added mail policy.
mail_policy_delete.html 0000664 0000000 0000000 00000002006 13165422750 0034703 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_policy_delete($session_id , $primary_id );
Description:
Deletes a mail policy.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_policy_get.html 0000664 0000000 0000000 00000002052 13165422750 0034221 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_policy_get($session_id , $primary_id );
Description:
Retrieves information about a mail policy.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail policy.
mail_policy_update.html 0000664 0000000 0000000 00000011024 13165422750 0034723 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_policy_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail policy.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
policy_name (varchar(64) )
virus_lover (enum('N','Y') )
spam_lover (enum('N','Y') )
banned_files_lover (enum('N','Y') )
bad_header_lover (enum('N','Y') )
bypass_virus_checks (enum('N','Y') )
bypass_spam_checks (enum('N','Y') )
bypass_banned_checks (enum('N','Y') )
bypass_header_checks (enum('N','Y') )
spam_modifies_subj (enum('N','Y') )
virus_quarantine_to (varchar(255) )
spam_quarantine_to (varchar(255) )
banned_quarantine_to (varchar(255) )
bad_header_quarantine_to (varchar(255) )
clean_quarantine_to (varchar(255) )
other_quarantine_to (varchar(255) )
spam_tag_level (float )
spam_tag2_level (float )
spam_kill_level (float )
spam_dsn_cutoff_level (float )
spam_quarantine_cutoff_level (float )
addr_extension_virus (varchar(64) )
addr_extension_spam (varchar(64) )
addr_extension_banned (varchar(64) )
addr_extension_bad_header (varchar(64) )
warnvirusrecip (enum('N','Y') )
warnbannedrecip (enum('N','Y') )
warnbadhrecip (enum('N','Y') )
newvirus_admin (varchar(64) )
virus_admin (varchar(64) )
banned_admin (varchar(64) )
bad_header_admin (varchar(64) )
spam_admin (varchar(64) )
spam_subject_tag (varchar(64) )
spam_subject_tag2 (varchar(64) )
message_size_limit (int(11) )
banned_rulenames (varchar(64) )
Output:
Returns the number of affected rows.
mail_spamfilter_blacklist_add.html 0000664 0000000 0000000 00000003173 13165422750 0037076 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_blacklist_add($session_id , $client_id , $params );
Description:
Adds a new mailing spamfilter blacklist entry if wb is B .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
wb (enum('W','B') )
rid (int(11) )
email (varchar(255) )
priority (tinyint(3) )
active (enum('n','y') )
Output:
Returns the ID of the newly added spamfilter blacklist entry.
mail_spamfilter_blacklist_delete.html 0000664 0000000 0000000 00000002053 13165422750 0037604 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_blacklist_delete($session_id , $primary_id );
Description:
Deletes a mailing spamfilter blacklist entry.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_spamfilter_blacklist_get.html 0000664 0000000 0000000 00000002136 13165422750 0037123 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_blacklist_get($session_id , $primary_id );
Description:
Retrieves information about a mailing spamfilter blacklist entry.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen spamfilter blacklist entry.
mail_spamfilter_blacklist_update.html 0000664 0000000 0000000 00000003160 13165422750 0037624 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_blacklist_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mailing spamfilter blacklist entry if wb is B .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
wb (enum('W','B') )
rid (int(11) )
email (varchar(255) )
priority (tinyint(3) )
active (enum('n','y') )
Output:
Returns the number of affected rows.
mail_spamfilter_user_add.html 0000664 0000000 0000000 00000003111 13165422750 0036074 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_user_add($session_id , $client_id , $params );
Description:
Adds a new mailing spamfilter user.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
priority (tinyint(3) )
policy_id (int(11) )
email (varchar(255) )
fullname (varchar(64) )
local (varchar(1) )
Output:
Returns the ID of the newly added spamfilter user.
mail_spamfilter_user_delete.html 0000664 0000000 0000000 00000002033 13165422750 0036610 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_user_delete($session_id , $primary_id );
Description:
Deletes a mailing spamfilter user.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_spamfilter_user_get.html 0000664 0000000 0000000 00000002103 13165422750 0036123 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_user_get($session_id , $primary_id );
Description:
Retrieves information about a mailing spamfilter user.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen spamfilter user.
mail_spamfilter_user_update.html 0000664 0000000 0000000 00000003111 13165422750 0036626 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_user_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mailing spamfilter user.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
priority (tinyint(3) )
policy_id (int(11) )
email (varchar(255) )
fullname (varchar(64) )
local (varchar(1) )
Output:
Returns the number of affected rows.
mail_spamfilter_whitelist_add.html 0000664 0000000 0000000 00000003173 13165422750 0037142 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_whitelist_add($session_id , $client_id , $params );
Description:
Adds a new mailing spamfilter whitelist entry if wb is W .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
wb (enum('W','B') )
rid (int(11) )
email (varchar(255) )
priority (tinyint(3) )
active (enum('n','y') )
Output:
Returns the ID of the newly added spamfilter whitelist entry.
mail_spamfilter_whitelist_delete.html 0000664 0000000 0000000 00000002053 13165422750 0037650 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_whitelist_delete($session_id , $primary_id );
Description:
Deletes a mailing spamfilter whitelist entry.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_spamfilter_whitelist_get.html 0000664 0000000 0000000 00000002136 13165422750 0037167 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_whitelist_get($session_id , $primary_id );
Description:
Retrieves information about a mailing spamfilter whitelist entry.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen spamfilter whitelist entry.
mail_spamfilter_whitelist_update.html 0000664 0000000 0000000 00000003152 13165422750 0037671 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_spamfilter_whitelist_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mailing spamfilter whitelist if wb is W .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
wb (enum('W','B') )
rid (int(11) )
email (varchar(255) )
priority (tinyint(3) )
active (enum('n','y') )
Output:
Returns the number of affected rows.
mail_transport_add.html 0000664 0000000 0000000 00000002753 13165422750 0034737 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_transport_add($session_id , $client_id , $params );
Description:
Adds a new mail transport.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
domain (varchar(255) )
transport (varchar(255) )
sort_order (int(11) )
active (enum('n','y') )
Output:
Returns the ID of the newly added mail transport.
mail_transport_delete.html 0000664 0000000 0000000 00000002014 13165422750 0035437 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_transport_delete($session_id , $primary_id );
Description:
Deletes a mail transport.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_transport_get.html 0000664 0000000 0000000 00000002063 13165422750 0034760 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_transport_get($session_id , $primary_id );
Description:
Retrieves information about a mail transport.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail transport.
mail_transport_update.html 0000664 0000000 0000000 00000002754 13165422750 0035472 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_transport_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail transport.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
domain (varchar(255) )
transport (varchar(255) )
sort_order (int(11) )
active (enum('n','y') )
Output:
Returns the number of affected rows.
mail_user_add.html 0000664 0000000 0000000 00000006043 13165422750 0033655 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_user_add($session_id , $client_id , $params );
Description:
Adds a mail user.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
email (varchar(255) )
login (varchar(255) )
password (varchar(255) )
name (varchar(255) )
uid (int(11) )
gid (int(11) )
maildir (varchar(255) )
quota (bigint(20) )
cc (varchar(255) )
homedir (varchar(255) )
autoresponder (enum('n','y') )
autoresponder_start_date (datetime )
autoresponder_end_date (datetime )
autoresponder_text (mediumtext )
move_junk (enum('n','y') )
custom_mailfilter (mediumtext )
postfix (enum('n','y') )
access (enum('n','y') )
disableimap (enum('n','y') )
disablepop3 (enum('n','y') )
disabledeliver (enum('n','y') )
disablesmtp (enum('n','y') )
Output:
Returns the ID of the newly added mail user.
mail_user_backup.html 0000664 0000000 0000000 00000002073 13165422750 0034371 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
mail_user_backup($session_id , $primary_id , $action_type );
Description:
Adds a new backup / restore task. Please note: $action_type must be backup_restore_mail
Input Variables:
$session_id , $primary_id , $action_type
Output:
Returns TRUE if successfull or FALSE if failure.
mail_user_backup_list.html 0000664 0000000 0000000 00000001724 13165422750 0035426 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
mail_user_backup_list($session_id , $primary_id );
Description:
Gets list of all available mail backups. If no $primary_id (mail-domain-id) is given, all mail backups available on this server are read.
Input Variables:
$session_id , $primary_id (mail-domain-id)
Output:
Returns array of all available backups.
mail_user_delete.html 0000664 0000000 0000000 00000002020 13165422750 0034356 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_user_delete($session_id , $primary_id );
Description:
Deletes a mail user.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_user_filter_add.html 0000664 0000000 0000000 00000003364 13165422750 0035225 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_user_filter_add($session_id , $client_id , $params );
Description:
Adds a new mail user filter.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
mailuser_id (int(11) )
rulename (varchar(64) )
source (varchar(255) )
searchterm (varchar(255) )
op (varchar(255) )
action (varchar(255) )
target (varchar(255) )
active (enum('n','y') )
Output:
Returns the ID of the newly added mail user filter.
mail_user_filter_delete.html 0000664 0000000 0000000 00000002020 13165422750 0035723 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_user_filter_delete($session_id , $primary_id );
Description:
Deletes a mail user filter.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_user_filter_get.html 0000664 0000000 0000000 00000002071 13165422750 0035246 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_user_filter_get($session_id , $primary_id );
Description:
Retrieves information about a mail user filter.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail user filter.
mail_user_filter_update.html 0000664 0000000 0000000 00000003363 13165422750 0035756 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_user_filter_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail user filter.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
mailuser_id (int(11) )
rulename (varchar(64) )
source (varchar(255) )
searchterm (varchar(255) )
op (varchar(255) )
action (varchar(255) )
target (varchar(255) )
active (enum('n','y') )
Output:
Returns the number of affected rows.
mail_user_get.html 0000664 0000000 0000000 00000002045 13165422750 0033702 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_user_get($session_id , $primary_id );
Description:
Retrieves information about a mail user.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail user.
mail_user_update.html 0000664 0000000 0000000 00000006125 13165422750 0034410 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_user_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail user.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
email (varchar(255) )
password (varchar(255) )
name (varchar(255) )
uid (int(11) )
gid (int(11) )
maildir (varchar(255) )
quota (bigint(20) )
cc (varchar(255) )
homedir (varchar(255) )
autoresponder (enum('n','y') )
autoresponder_start_date (datetime )
autoresponder_end_date (datetime )
autoresponder_text (mediumtext )
move_junk (enum('n','y') )
custom_mailfilter (mediumtext )
postfix (enum('n','y') )
access (enum('n','y') )
disableimap (enum('n','y') )
disablepop3 (enum('n','y') )
disabledeliver (enum('n','y') )
disablesmtp (enum('n','y') )
Output:
Returns the number of affected rows.
mail_whitelist_add.html 0000664 0000000 0000000 00000003053 13165422750 0034711 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_whitelist_add($session_id , $client_id , $params );
Description:
Adds a new mail whitelist entry if access is OK .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
access (varchar(255) )
type (set('recipient','sender','client') )
active (enum('n','y') )
Output:
Returns the ID of the newly added mail whitelist entry.
mail_whitelist_delete.html 0000664 0000000 0000000 00000002022 13165422750 0035416 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_whitelist_delete($session_id , $primary_id );
Description:
Deletes a mail whitelist entry.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
mail_whitelist_get.html 0000664 0000000 0000000 00000002077 13165422750 0034745 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_whitelist_get($session_id , $primary_id );
Description:
Retrieves information about a mail whitelist entry.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen mail whitelist entry.
mail_whitelist_update.html 0000664 0000000 0000000 00000003020 13165422750 0035435 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
mail_whitelist_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a mail whitelist entry if access is OK .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
source (varchar(255) )
access (varchar(255) )
type (set('recipient','sender','client') )
active (enum('n','y') )
Output:
Returns the number of affected rows.
navigation.html 0000664 0000000 0000000 00000042020 13165422750 0033217 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
Home
Functions
C
client_add
client_change_password
client_delete
client_delete_everything
client_get
client_get_by_username
client_get_id
client_get_sites_by_user
client_templates_get_all
client_update
D
dns_a_add
dns_a_delete
dns_a_get
dns_a_update
dns_aaaa_add
dns_aaaa_delete
dns_aaaa_get
dns_aaaa_update
dns_alias_add
dns_alias_delete
dns_alias_get
dns_alias_update
dns_cname_add
dns_cname_delete
dns_cname_get
dns_cname_update
dns_hinfo_add
dns_hinfo_delete
dns_hinfo_get
dns_hinfo_update
dns_mx_add
dns_mx_delete
dns_mx_get
dns_mx_update
dns_ns_add
dns_ns_delete
dns_ns_get
dns_ns_update
dns_ptr_add
dns_ptr_delete
dns_ptr_get
dns_ptr_update
dns_rp_add
dns_rp_delete
dns_rp_get
dns_rp_update
dns_rr_get_all_by_zone
dns_srv_add
dns_srv_delete
dns_srv_get
dns_srv_update
dns_txt_add
dns_txt_delete
dns_txt_get
dns_txt_update
dns_zone_add
dns_zone_delete
dns_zone_get
dns_zone_get_by_user
dns_zone_set_status
dns_zone_update
domains_domain_add
domains_domain_delete
domains_domain_get
domains_get_all_by_user
G
get_function_list
L
login
logout
M
mail_alias_add
mail_alias_delete
mail_alias_get
mail_alias_update
mail_blacklist_add
mail_blacklist_delete
mail_blacklist_get
mail_blacklist_update
mail_catchall_add
mail_catchall_delete
mail_catchall_get
mail_catchall_update
mail_domain_add
mail_domain_delete
mail_domain_get
mail_domain_get_by_domain
mail_domain_update
mail_fetchmail_add
mail_fetchmail_delete
mail_fetchmail_get
mail_fetchmail_update
mail_forward_add
mail_forward_delete
mail_forward_get
mail_forward_update
mail_mailinglist_add
mail_mailinglist_delete
mail_mailinglist_get
mail_mailinglist_update
mail_policy_add
mail_policy_delete
mail_policy_get
mail_policy_update
mail_spamfilter_blacklist_add
mail_spamfilter_blacklist_delete
mail_spamfilter_blacklist_get
mail_spamfilter_blacklist_update
mail_spamfilter_user_add
mail_spamfilter_user_delete
mail_spamfilter_user_get
mail_spamfilter_user_update
mail_spamfilter_whitelist_add
mail_spamfilter_whitelist_delete
mail_spamfilter_whitelist_get
mail_spamfilter_whitelist_update
mail_transport_add
mail_transport_delete
mail_transport_get
mail_transport_update
mail_user_add
mail_user_delete
mail_user_get
mail_user_update
mail_user_filter_add
mail_user_filter_delete
mail_user_filter_get
mail_user_filter_update
mail_user_backup_list
mail_user_backup
mail_whitelist_add
mail_whitelist_delete
mail_whitelist_get
mail_whitelist_update
O
openvz_get_free_ip
openvz_ip_add
openvz_ip_delete
openvz_ip_get
openvz_ip_update
openvz_ostemplate_add
openvz_ostemplate_delete
openvz_ostemplate_get
openvz_ostemplate_update
openvz_template_add
openvz_template_delete
openvz_template_get
openvz_template_update
openvz_vm_add
openvz_vm_add_from_template
openvz_vm_delete
openvz_vm_get
openvz_vm_get_by_client
openvz_vm_update
S
server_get
server_get_php_versions
server_get_serverid_by_ip
sites_aps_available_packages_list
sites_aps_get_package_details
sites_aps_get_package_file
sites_aps_get_package_settings
sites_aps_install_package
sites_aps_instance_get
sites_aps_instance_delete
sites_aps_instance_settings_get
sites_aps_update_package_list
sites_cron_add
sites_cron_delete
sites_cron_get
sites_cron_update
sites_database_add
sites_database_delete
sites_database_get
sites_database_get_all_by_user
sites_database_update
sites_database_user_add
sites_database_user_delete
sites_database_user_get
sites_database_user_update
sites_ftp_user_add
sites_ftp_user_delete
sites_ftp_user_get
sites_ftp_user_update
sites_shell_user_add
sites_shell_user_delete
sites_shell_user_get
sites_shell_user_update
sites_web_aliasdomain_add
sites_web_aliasdomain_delete
sites_web_aliasdomain_get
sites_web_aliasdomain_update
sites_web_domain_add
sites_web_domain_delete
sites_web_domain_get
sites_web_domain_set_status
sites_web_domain_update
sites_web_domain_backup_list
sites_web_domain_backup
sites_web_subdomain_add
sites_web_subdomain_delete
sites_web_subdomain_get
sites_web_subdomain_update
openvz_get_free_ip.html 0000664 0000000 0000000 00000002600 13165422750 0034731 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_get_free_ip($session_id , $server_id = 0);
Description:
Shows the unreserved IPs for openvz virtual machines.
Input Variables:
$session_id , $server_id = 0
Parameters (in $params ):
None
Output:
Returns the IPs available for an openvz virtual machine.
SQL Interaction (the matching server ID condition is left out if $server_id =0):
"SELECT ip_address_id, server_id, ip_address FROM openvz_ip WHERE reserved = 'n' AND vm_id = 0 AND server_id = $server_id LIMIT 0,1"
openvz_ip_add.html 0000664 0000000 0000000 00000002576 13165422750 0033715 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_ip_add($session_id , $client_id , $params );
Description:
Adds a new openvz ip.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
ip_address (int(15) )
vm_id (int(11) )
reserved (varchar(255) )
Output:
Returns the ID of the newly added openvz ip.
openvz_ip_delete.html 0000664 0000000 0000000 00000001771 13165422750 0034423 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_ip_delete($session_id , $ip_id );
Description:
Deletes an openvz ip.
Input Variables:
$session_id , $ip_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
openvz_ip_get.html 0000664 0000000 0000000 00000002024 13165422750 0033730 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_ip_get($session_id , $ip_id );
Description:
Retrieves information about an openvz ip.
Input Variables:
$session_id , $ip_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen ip.
openvz_ip_update.html 0000664 0000000 0000000 00000002606 13165422750 0034441 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_ip_update($session_id , $client_id , $ip_id , $params );
Description:
Updates an openvz ip.
Input Variables:
$session_id , $client_id , $ip_id , $params
Parameters (in $params ):
server_id (int(11) )
ip_address (int(15) )
vm_id (int(11) )
reserved (varchar(255) )
Output:
Returns the number of affected rows.
openvz_ostemplate_add.html 0000664 0000000 0000000 00000003130 13165422750 0035445 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_ostemplate_add($session_id , $client_id , $params );
Description:
Adds a new openvz OS template.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
template_name (varchar(255) )
template_file (varchar(255) )
server_id (int(11) )
allservers (varchar(255) )
active (varchar(255) )
description (text )
Output:
Returns the ID of the newly added openvz OS template.
openvz_ostemplate_delete.html 0000664 0000000 0000000 00000002032 13165422750 0036157 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_ostemplate_delete($session_id , $ostemplate_id );
Description:
Deletes an openvz OS template.
Input Variables:
$session_id , $ostemplate_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
openvz_ostemplate_get.html 0000664 0000000 0000000 00000002076 13165422750 0035504 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_ostemplate_get($session_id , $ostemplate_id );
Description:
Retrieves information about an openvz OS template.
Input Variables:
$session_id , $ostemplate_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen OS template.
openvz_ostemplate_update.html 0000664 0000000 0000000 00000003147 13165422750 0036207 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_ostemplate_update($session_id , $client_id , $ostemplate_id , $params );
Description:
Updates an openvz OS template.
Input Variables:
$session_id , $client_id , $ostemplate_id , $params
Parameters (in $params ):
template_name (varchar(255) )
template_file (varchar(255) )
server_id (int(11) )
allservers (varchar(255) )
active (varchar(255) )
description (text )
Output:
Returns the number of affected rows.
openvz_template_add.html 0000664 0000000 0000000 00000010505 13165422750 0035107 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_template_add($session_id , $client_id , $params );
Description:
Adds a new openvz template.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
template_name (varchar(255) )
diskspace (int(11) )
traffic (int(11) )
bandwidth (int(11) )
ram (int(11) )
ram_burst (int(11) )
cpu_units (int(11) )
cpu_num (int(11) )
cpu_limit (int(11) )
io_priority (int(11) )
active (varchar(255) )
description (text )
numproc (varchar(255) )
numtcpsock (varchar(255) )
numothersock (varchar(255) )
vmguarpages (varchar(255) )
kmemsize (varchar(255) )
tcpsndbuf (varchar(255) )
tcprcvbuf (varchar(255) )
othersockbuf (varchar(255) )
dgramrcvbuf (varchar(255) )
oomguarpages (varchar(255) )
privvmpages (varchar(255) )
lockedpages (varchar(255) )
shmpages (varchar(255) )
physpages (varchar(255) )
numfile (varchar(255) )
avnumproc (varchar(255) )
numflock (varchar(255) )
numpty (varchar(255) )
numsiginfo (varchar(255) )
dcachesize (varchar(255) )
numiptent (varchar(255) )
swappages (varchar(255) )
hostname (varchar(255) )
nameserver (varchar(255) )
create_dns (varchar(1) )
capability (varchar(255) )
Output:
Returns the ID of the newly added openvz template.
openvz_template_delete.html 0000664 0000000 0000000 00000002021 13165422750 0035613 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_template_delete($session_id , $template_id );
Description:
Deletes an openvz template.
Input Variables:
$session_id , $template_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
openvz_template_get.html 0000664 0000000 0000000 00000002062 13165422750 0035135 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_template_get($session_id , $template_id );
Description:
Retrieves information about an openvz template.
Input Variables:
$session_id , $template_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen template.
openvz_template_update.html 0000664 0000000 0000000 00000010523 13165422750 0035641 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_template_update($session_id , $client_id , $template_id , $params );
Description:
Updates an openvz template.
Input Variables:
$session_id , $client_id , $template_id , $params
Parameters (in $params ):
template_name (varchar(255) )
diskspace (int(11) )
traffic (int(11) )
bandwidth (int(11) )
ram (int(11) )
ram_burst (int(11) )
cpu_units (int(11) )
cpu_num (int(11) )
cpu_limit (int(11) )
io_priority (int(11) )
active (varchar(255) )
description (text )
numproc (varchar(255) )
numtcpsock (varchar(255) )
numothersock (varchar(255) )
vmguarpages (varchar(255) )
kmemsize (varchar(255) )
tcpsndbuf (varchar(255) )
tcprcvbuf (varchar(255) )
othersockbuf (varchar(255) )
dgramrcvbuf (varchar(255) )
oomguarpages (varchar(255) )
privvmpages (varchar(255) )
lockedpages (varchar(255) )
shmpages (varchar(255) )
physpages (varchar(255) )
numfile (varchar(255) )
avnumproc (varchar(255) )
numflock (varchar(255) )
numpty (varchar(255) )
numsiginfo (varchar(255) )
dcachesize (varchar(255) )
numiptent (varchar(255) )
swappages (varchar(255) )
hostname (varchar(255) )
nameserver (varchar(255) )
create_dns (varchar(1) )
capability (varchar(255) )
Output:
Returns the number of affected rows.
openvz_vm_add.html 0000664 0000000 0000000 00000006053 13165422750 0033721 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_vm_add($session_id , $client_id , $params );
Description:
Adds a new openvz vm.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
veid (int(10) )
ostemplate_id (int(11) )
template_id (int(11) )
ip_address (varchar(255) )
hostname (varchar(255) )
vm_password (varchar(255) )
start_boot (varchar(255) )
active (varchar(255) )
active_until_date (date )
description (text )
diskspace (int(11) )
traffic (int(11) )
bandwidth (int(11) )
ram (int(11) )
ram_burst (int(11) )
cpu_units (int(11) )
cpu_num (int(11) )
cpu_limit (int(11) )
io_priority (int(11) )
nameserver (varchar(255) )
create_dns (varchar(1) )
capability (text )
config (mediumtext )
Output:
Returns the ID of the newly added openvz vm.
openvz_vm_add_from_template.html 0000664 0000000 0000000 00000002722 13165422750 0036636 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_vm_add_from_template($session_id , $client_id , $ostemplate_id , $template_id , $override_params = array());
Description:
Sets up a virtual machine on the first available ip by using templates.
Input Variables:
$session_id , $client_id , $ostemplate_id , $template_id , $override_params = array()
Parameters (in $params ):
None
Output:
Returns added vm's ID.
SQL Interaction:
"SELECT * FROM openvz_template WHERE template_id = $template_id "
openvz_vm_delete.html 0000664 0000000 0000000 00000001771 13165422750 0034435 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_vm_delete($session_id , $vm_id );
Description:
Deletes an openvz vm.
Input Variables:
$session_id , $vm_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
openvz_vm_get.html 0000664 0000000 0000000 00000002024 13165422750 0033742 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_vm_get($session_id , $vm_id );
Description:
Retrieves information about an openvz vm.
Input Variables:
$session_id , $vm_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen vm.
openvz_vm_get_by_client.html 0000664 0000000 0000000 00000002275 13165422750 0036002 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_vm_get_by_client($session_id , $client_id );
Description:
Shows all of a client's vms.
Input Variables:
$session_id , $client_id
Parameters (in $params ):
None
Output:
Returns arrays of parameters of target client's vms.
SQL Interaction:
"SELECT * FROM openvz_vm WHERE sys_groupid = ".intval($tmp['groupid'] )
openvz_vm_update.html 0000664 0000000 0000000 00000006063 13165422750 0034454 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
openvz_vm_update($session_id , $client_id , $vm_id , $params );
Description:
Updates an openvz vm.
Input Variables:
$session_id , $client_id , $vm_id , $params
Parameters (in $params ):
server_id (int(11) )
veid (int(10) )
ostemplate_id (int(11) )
template_id (int(11) )
ip_address (varchar(255) )
hostname (varchar(255) )
vm_password (varchar(255) )
start_boot (varchar(255) )
active (varchar(255) )
active_until_date (date )
description (text )
diskspace (int(11) )
traffic (int(11) )
bandwidth (int(11) )
ram (int(11) )
ram_burst (int(11) )
cpu_units (int(11) )
cpu_num (int(11) )
cpu_limit (int(11) )
io_priority (int(11) )
nameserver (varchar(255) )
create_dns (varchar(1) )
capability (text )
config (mediumtext )
Output:
Returns the number of affected rows.
server_get.html 0000664 0000000 0000000 00000002051 13165422750 0033225 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
server_get($session_id , $server_id , $section ='');
Description:
Returns server information by its ID.
Input Variables:
$session_id , $server_id , $section =''
Parameters (in $params ):
None.
Output:
Returns an array with the server parameter's values.
server_get_php_versions.html 0000664 0000000 0000000 00000001612 13165422750 0036026 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
server_get_php_versions($session_id , $server_id , $php );
Description:
Returns the available PHP versions of the given server.
Input Variables:
$session_id , $server_id , $php
Output:
Returns an array with the available PHP versions.
server_get_serverid_by_ip.html 0000664 0000000 0000000 00000002315 13165422750 0036315 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
server_get_serverid_by_ip($session_id , $ipaddress );
Description:
Returns server information by its IP.
Input Variables:
$session_id , $ipaddress
Parameters (in $params ):
None.
Output:
Returns an array with the server parameter's values.
SQL Interaction:
SELECT server_id FROM server_ip WHERE ip_address = '$ipaddress ' LIMIT 1 "
sites_aps_available_packages_list.html 0000664 0000000 0000000 00000002267 13165422750 0037754 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_aps_available_packages_list($session_id , $params );
Description:
Reads all available packages with state PACKAGE_ENABLED. If set param all_packages to true, also includes PACKAGE_LOCKED.
Input Variables:
$session_id , $params
Parameters (in $params ):
all_packages (boolean )
Output:
Returns array with all selected package records.
sites_aps_get_package_details.html 0000664 0000000 0000000 00000002070 13165422750 0037072 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_aps_get_package_details($session_id , $primary_id );
Description:
Gets all possible details for selected package.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns array with all details of selected package.
sites_aps_get_package_file.html 0000664 0000000 0000000 00000002702 13165422750 0036366 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_aps_get_package_file($session_id , $primary_id , $filename );
Description:
Gets the file with given name (like screenshots or icon) of the selected package. Use sites_aps_get_package_details to get all available files of this package.
Input Variables:
$session_id , $primary_id , $filename
Parameters (in $params ):
None
Output:
Returns base64_encoded file content of selected file. Use the followoing example code to save file content over remote api:file_put_contents($file, base64_decode(sites_aps_get_package_file($session_id, $primary_id, $filename)));
sites_aps_get_package_settings.html 0000664 0000000 0000000 00000002073 13165422750 0037310 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_aps_get_package_settings($session_id , $primary_id );
Description:
Gets all possible settings for selected package.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns array with all settings of selected package.
sites_aps_install_package.html 0000664 0000000 0000000 00000002303 13165422750 0036253 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_aps_install_package($session_id , $primary_id , $params );
Description:
Starts installation of the selected package in given main_domains webfolder.
Input Variables:
$session_id , $primary_id , $params
Parameters (in $params ):
main_domain (varchar(255) )
Output:
Returns new instance id or false.
sites_aps_instance_delete.html 0000664 0000000 0000000 00000002346 13165422750 0036267 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_aps_instance_delete($session_id , $primary_id , $params );
Description:
Starts deletion of the selected APS instance. If param keep_database is set true, database will not be deleted.
Input Variables:
$session_id , $primary_id , $params
Parameters (in $params ):
keep_database (boolean )
Output:
Returns true if deletion is started.
sites_aps_instance_get.html 0000664 0000000 0000000 00000002017 13165422750 0035577 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_aps_instance_get($session_id , $primary_id );
Description:
Gets record of given instance id.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns record of APS instance.
sites_aps_instance_settings_get.html 0000664 0000000 0000000 00000002053 13165422750 0037517 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_aps_instance_settings_get($session_id , $primary_id );
Description:
Gets record of given instance ids settings.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns record of APS instance settings.
sites_aps_update_package_list.html 0000664 0000000 0000000 00000001753 13165422750 0037132 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_aps_update_package_list($session_id );
Description:
Update available package list. Starts the ApsCrawler in server mode. May take a while.
Input Variables:
$session_id
Parameters (in $params ):
None
Output:
always true
sites_cron_add.html 0000664 0000000 0000000 00000003644 13165422750 0034051 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_cron_add($session_id , $client_id , $params );
Description:
Adds a new cronjob.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
parent_domain_id (int(11) )
type (enum('url','chrooted','full') )
command (varchar(255) )
run_min (varchar(100) )
run_hour (varchar(100) )
run_mday (varchar(100) )
run_month (varchar(100) )
run_wday (varchar(100) )
active (enum('n','y') )
Output:
Returns the ID of the newly added cronjob.
sites_cron_delete.html 0000664 0000000 0000000 00000001773 13165422750 0034564 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_cron_delete($session_id , $cron_id );
Description:
Deletes a cronjob.
Input Variables:
$session_id , $cron_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
sites_cron_get.html 0000664 0000000 0000000 00000002033 13165422750 0034067 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_cron_get($session_id , $cron_id );
Description:
Retrieves information about a cronjob.
Input Variables:
$session_id , $cron_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen cronjob.
sites_cron_update.html 0000664 0000000 0000000 00000003646 13165422750 0034605 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_cron_update($session_id , $client_id , $cron_id , $params );
Description:
Updates a cronjob.
Input Variables:
$session_id , $client_id , $cron_id , $params
Parameters (in $params ):
server_id (int(11) )
parent_domain_id (int(11) )
type (enum('url','chrooted','full') )
command (varchar(255) )
run_min (varchar(100) )
run_hour (varchar(100) )
run_mday (varchar(100) )
run_month (varchar(100) )
run_wday (varchar(100) )
active (enum('n','y') )
Output:
Returns the number of affected rows.
sites_database_add.html 0000664 0000000 0000000 00000004276 13165422750 0034656 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_database_add($session_id , $client_id , $params );
Description:
Adds a new database.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
website_id (int(11) )
type (varchar(16) )
database_name (varchar(64) )
database_user_id (int(11) )
database_ro_user_id (int(11) )
database_password (varchar(64) )
database_charset (varchar(64) )
remote_access (enum('n','y') )
remote_ips (text )
backup_interval (varchar(255) )
backup_copies (int(11) )
active (enum('n','y') )
Output:
Returns the ID of the newly added database.
sites_database_delete.html 0000664 0000000 0000000 00000002006 13165422750 0035355 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_database_delete($session_id , $primary_id );
Description:
Deletes a database.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
sites_database_get.html 0000664 0000000 0000000 00000002047 13165422750 0034677 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_database_get($session_id , $primary_id );
Description:
Retrieves information about a database.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen database.
sites_database_get_all_by_user.html 0000664 0000000 0000000 00000002446 13165422750 0037262 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_database_get_all_by_user($session_id , $client_id );
Description:
Returns information about the databases of the system user.
Input Variables:
$session_id , $client_id
Parameters (in $params ):
None.
Output:
Returns an array with the parameter values of the client's databases.
SQL Interaction:
"SELECT database_id, database_name, database_user, database_password FROM web_database WHERE sys_userid = $client_id "
sites_database_update.html 0000664 0000000 0000000 00000003547 13165422750 0035410 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_database_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a database.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
type (varchar(16) )
database_name (varchar(64) )
database_user (varchar(64) )
database_password (varchar(64) )
database_charset (varchar(64) )
remote_access (enum('n','y') )
remote_ips (text )
active (enum('n','y') )
Output:
Returns the number of affected rows.
sites_database_user_add.html 0000664 0000000 0000000 00000002512 13165422750 0035703 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_database_user_add($session_id , $client_id , $params );
Description:
Adds a new database user.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
database_user (varchar(64) )
database_password (varchar(64) )
Output:
Returns the ID of the newly added database.
sites_database_user_delete.html 0000664 0000000 0000000 00000002020 13165422750 0036407 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_database_user_delete($session_id , $primary_id );
Description:
Deletes a database user.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
sites_database_user_get.html 0000664 0000000 0000000 00000002054 13165422750 0035733 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_database_user_get($session_id , $primary_id );
Description:
Retrieves information about a database.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen database.
sites_database_user_update.html 0000664 0000000 0000000 00000002527 13165422750 0036443 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_database_user_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a database.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
database_name (varchar(64) )
database_password (varchar(64) )
Output:
Returns the number of affected rows.
sites_ftp_user_add.html 0000664 0000000 0000000 00000004336 13165422750 0034736 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_ftp_user_add($session_id , $client_id , $params );
Description:
Adds a new ftp user.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
parent_domain_id (int(11) )
username (varchar(64) )
password (varchar(64) )
quota_size (bigint(20) )
active (enum('n','y') )
uid (varchar(64) )
gid (varchar(64) )
dir (varchar(255) )
quota_files (bigint(20) )
ul_ratio (int(11) )
dl_ratio (int(11) )
ul_bandwidth (int(11) )
dl_bandwidth (int(11) )
Output:
Returns the ID of the newly added client.
sites_ftp_user_delete.html 0000664 0000000 0000000 00000002007 13165422750 0035441 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_ftp_user_delete($session_id , $primary_id );
Description:
Deletes an ftp user.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
sites_ftp_user_get.html 0000664 0000000 0000000 00000002050 13165422750 0034754 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_ftp_user_get($session_id , $primary_id );
Description:
Retrieves information about an ftp user.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen ftp user.
sites_ftp_user_update.html 0000664 0000000 0000000 00000004350 13165422750 0035464 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_ftp_user_update($session_id , $client_id , $primary_id , $params );
Description:
Updates an ftp user.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
parent_domain_id (int(11) )
username (varchar(64) )
password (varchar(64) )
quota_size (bigint(20) )
active (enum('n','y') )
uid (varchar(64) )
gid (varchar(64) )
dir (varchar(255) )
quota_files (bigint(20) )
ul_ratio (int(11) )
dl_ratio (int(11) )
ul_bandwidth (int(11) )
dl_bandwidth (int(11) )
Output:
Returns the number of affected rows.
sites_shell_user_add.html 0000664 0000000 0000000 00000003742 13165422750 0035254 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_shell_user_add($session_id , $client_id , $params );
Description:
Adds a new shell user.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
parent_domain_id (int(11) )
username (varchar(64) )
password (varchar(64) )
quota_size (bigint(20) )
active (enum('n','y') )
puser (varchar(64) )
pgroup (varchar(64) )
shell (varchar(255) )
dir (bigint(20) )
chroot (int(11) )
Output:
Returns the ID of the newly added shell user.
sites_shell_user_delete.html 0000664 0000000 0000000 00000002012 13165422750 0035753 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_shell_user_delete($session_id , $primary_id );
Description:
Deletes a shell user.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
sites_shell_user_get.html 0000664 0000000 0000000 00000002055 13165422750 0035277 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_shell_user_get($session_id , $primary_id );
Description:
Retrieves information about a shell user.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen shell user.
sites_shell_user_update.html 0000664 0000000 0000000 00000003747 13165422750 0036013 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_shell_user_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a shell user.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
parent_domain_id (int(11) )
username (varchar(64) )
password (varchar(64) )
quota_size (bigint(20) )
active (enum('n','y') )
puser (varchar(64) )
pgroup (varchar(64) )
shell (varchar(255) )
dir (bigint(20) )
chroot (int(11) )
Output:
Returns the number of affected rows.
sites_web_aliasdomain_add.html 0000664 0000000 0000000 00000011525 13165422750 0036223 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_aliasdomain_add($session_id , $client_id , $params , $readonly = false);
Description:
Adds a new web aliasdomain if type is alias .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
ip_address (varchar(39) )
domain (varchar(255) )
type (varchar(32) )
parent_domain_id (int(11) )
vhost_type (varchar(32) )
document_root (varchar(255) )
system_user (varchar(255) )
system_group (varchar(255) )
hd_quota (bigint(20) )
traffic_quota (bigint(20) )
cgi (enum('n','y') )
ssi (enum('n','y') )
suexec (enum('n','y') )
errordocs (tinyint(1) )
is_subdomainwww (tinyint(1) )
subdomain (enum('none','www','*') )
php (enum('n','y') )
ruby (enum('n','y') )
redirect_type (varchar(255) )
redirect_path (varchar(255) )
ssl (enum('n','y') )
ssl_state (varchar(255) )
ssl_locality (varchar(255) )
ssl_organisation (varchar(255) )
ssl_organisation_unit (varchar(255) )
ssl_country (varchar(255) )
ssl_domain (varchar(255) )
ssl_request (mediumtext )
ssl_cert (mediumtext )
ssl_bundle (mediumtext )
ssl_action (varchar(16) )
stats_password (varchar(255) )
stats_type (varchar(255) )
allow_override (varchar(255) )
apache_directives (mediumtext )
php_open_basedir (mediumtext )
custom_php_ini (mediumtext )
backup_interval (varchar(255) )
backup_copies (int(11) )
active (enum('n','y') )
traffic_quota_lock (enum('n','y') )
Output:
Returns the ID of the newly added web aliasdomain.
sites_web_aliasdomain_delete.html 0000664 0000000 0000000 00000002012 13165422750 0036724 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_aliasdomain_delete($session_id , $primary_id );
Description:
Deletes a web aliasdomain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
sites_web_aliasdomain_get.html 0000664 0000000 0000000 00000002062 13165422750 0036246 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_aliasdomain_get($session_id , $primary_id );
Description:
Retrieves information about a web aliasdomain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen web aliasdomain.
sites_web_aliasdomain_update.html 0000664 0000000 0000000 00000011576 13165422750 0036763 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_aliasdomain_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a web aliasdomain if type is alias .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
ip_address (varchar(39) )
domain (varchar(255) )
type (varchar(32) )
parent_domain_id (int(11) )
vhost_type (varchar(32) )
document_root (varchar(255) )
system_user (varchar(255) )
system_group (varchar(255) )
hd_quota (bigint(20) )
traffic_quota (bigint(20) )
cgi (enum('n','y') )
ssi (enum('n','y') )
suexec (enum('n','y') )
errordocs (tinyint(1) )
is_subdomainwww (tinyint(1) )
subdomain (enum('none','www','*') )
php (enum('n','y') )
ruby (enum('n','y') )
redirect_type (varchar(255) )
redirect_path (varchar(255) )
ssl (enum('n','y') )
ssl_state (varchar(255) )
ssl_locality (varchar(255) )
ssl_organisation (varchar(255) )
ssl_organisation_unit (varchar(255) )
ssl_country (varchar(255) )
ssl_domain (varchar(255) )
ssl_key (mediumtext )
ssl_request (mediumtext )
ssl_cert (mediumtext )
ssl_bundle (mediumtext )
ssl_action (varchar(16) )
stats_password (varchar(255) )
stats_type (varchar(255) )
allow_override (varchar(255) )
apache_directives (mediumtext )
php_open_basedir (mediumtext )
custom_php_ini (mediumtext )
backup_interval (varchar(255) )
backup_copies (int(11) )
active (enum('n','y') )
traffic_quota_lock (enum('n','y') )
Output:
Returns the number of affected rows.
sites_web_domain_add.html 0000664 0000000 0000000 00000011570 13165422750 0035211 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_domain_add($session_id , $client_id , $params , $readonly = false);
Description:
Adds a new web domain.
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
ip_address (varchar(39) )
domain (varchar(255) )
type (varchar(32) )
parent_domain_id (int(11) )
vhost_type (varchar(32) )
document_root (varchar(255) )
system_user (varchar(255) )
system_group (varchar(255) )
hd_quota (bigint(20) )
traffic_quota (bigint(20) )
cgi (enum('n','y') )
ssi (enum('n','y') )
suexec (enum('n','y') )
errordocs (tinyint(1) )
is_subdomainwww (tinyint(1) )
subdomain (enum('none','www','*') )
php (enum('n','y') )
ruby (enum('n','y') )
redirect_type (varchar(255) )
redirect_path (varchar(255) )
ssl (enum('n','y') )
ssl_state (varchar(255) )
ssl_locality (varchar(255) )
ssl_organisation (varchar(255) )
ssl_organisation_unit (varchar(255) )
ssl_country (varchar(255) )
ssl_domain (varchar(255) )
ssl_key (mediumtext )
ssl_request (mediumtext )
ssl_cert (mediumtext )
ssl_bundle (mediumtext )
ssl_action (varchar(16) )
stats_password (varchar(255) )
stats_type (varchar(255) )
allow_override (varchar(255) )
apache_directives (mediumtext )
php_open_basedir (mediumtext )
custom_php_ini (mediumtext )
backup_interval (varchar(255) )
backup_copies (int(11) )
active (enum('n','y') )
traffic_quota_lock (enum('n','y') )
Output:
Returns the ID of the newly added web domain.
sites_web_domain_backup.html 0000664 0000000 0000000 00000002047 13165422750 0035725 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_domain_backup($session_id , $primary_id , $action_type );
Description:
Adds a new backup / restore task. Please note: $action_type is either backup_download or backup_restore
Input Variables:
$session_id , $primary_id , $action_type
Output:
Returns TRUE if successfull or FALSE if failure.
sites_web_domain_backup_list.html 0000664 0000000 0000000 00000001643 13165422750 0036761 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_domain_backup_list($session_id , $site_id );
Description:
Gets list of all available backups. If no $site_id given, all backups available on this server are read.
Input Variables:
$session_id , $site_id
Output:
Returns array of all available backups.
sites_web_domain_delete.html 0000664 0000000 0000000 00000002000 13165422750 0035707 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_domain_delete($session_id , $primary_id );
Description:
Deletes a web domain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
sites_web_domain_get.html 0000664 0000000 0000000 00000002043 13165422750 0035233 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_domain_get($session_id , $primary_id );
Description:
Retrieves information about a web domain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen web domain.
sites_web_domain_set_status.html 0000664 0000000 0000000 00000002611 13165422750 0036653 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISPCOnfig 3 remote API documentation
sites_web_domain_set_status($session_id , $primary_id , $status );
Description:
Changes status of a web domain to 'active' or 'inactive'.
Input Variables:
$session_id , $primary_id , $status
Parameters (in $params ):
None
Output:
Returns '1' if status has been changed, '0' if no changes were taken.
SQL Interaction (if status is changed to 'active'):
"UPDATE web_domain SET active = '$status ' WHERE domain_id = ".intval($primary_id )
sites_web_domain_update.html 0000664 0000000 0000000 00000011374 13165422750 0035745 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_domain_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a web domain.
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
ip_address (varchar(39) )
domain (varchar(255) )
type (varchar(32) )
parent_domain_id (int(11) )
vhost_type (varchar(32) )
document_root (varchar(255) )
system_user (varchar(255) )
system_group (varchar(255) )
hd_quota (bigint(20) )
traffic_quota (bigint(20) )
cgi (enum('n','y') )
ssi (enum('n','y') )
suexec (enum('n','y') )
errordocs (tinyint(1) )
is_subdomainwww (tinyint(1) )
subdomain (enum('none','www','*') )
php (enum('n','y') )
ruby (enum('n','y') )
redirect_type (varchar(255) )
redirect_path (varchar(255) )
ssl (enum('n','y') )
ssl_state (varchar(255) )
ssl_locality (varchar(255) )
ssl_organisation (varchar(255) )
ssl_organisation_unit (varchar(255) )
ssl_country (varchar(255) )
ssl_domain (varchar(255) )
ssl_request (mediumtext )
ssl_cert (mediumtext )
ssl_bundle (mediumtext )
ssl_action (varchar(16) )
stats_password (varchar(255) )
stats_type (varchar(255) )
allow_override (varchar(255) )
apache_directives (mediumtext )
php_open_basedir (mediumtext )
custom_php_ini (mediumtext )
backup_interval (varchar(255) )
backup_copies (int(11) )
active (enum('n','y') )
traffic_quota_lock (enum('n','y') )
Output:
Returns the number of affected rows.
sites_web_subdomain_add.html 0000664 0000000 0000000 00000011523 13165422750 0035721 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_subdomain_add($session_id , $client_id , $params , $readonly = false);
Description:
Adds a new web subdomain if type is subdomain .
Input Variables:
$session_id , $client_id , $params
Parameters (in $params ):
server_id (int(11) )
ip_address (varchar(39) )
domain (varchar(255) )
type (varchar(32) )
parent_domain_id (int(11) )
vhost_type (varchar(32) )
document_root (varchar(255) )
system_user (varchar(255) )
system_group (varchar(255) )
hd_quota (bigint(20) )
traffic_quota (bigint(20) )
cgi (enum('n','y') )
ssi (enum('n','y') )
suexec (enum('n','y') )
errordocs (tinyint(1) )
is_subdomainwww (tinyint(1) )
subdomain (enum('none','www','*') )
php (enum('n','y') )
ruby (enum('n','y') )
redirect_type (varchar(255) )
redirect_path (varchar(255) )
ssl (enum('n','y') )
ssl_state (varchar(255) )
ssl_locality (varchar(255) )
ssl_organisation (varchar(255) )
ssl_organisation_unit (varchar(255) )
ssl_country (varchar(255) )
ssl_domain (varchar(255) )
ssl_request (mediumtext )
ssl_cert (mediumtext )
ssl_bundle (mediumtext )
ssl_action (varchar(16) )
stats_password (varchar(255) )
stats_type (varchar(255) )
allow_override (varchar(255) )
apache_directives (mediumtext )
php_open_basedir (mediumtext )
custom_php_ini (mediumtext )
backup_interval (varchar(255) )
backup_copies (int(11) )
active (enum('n','y') )
traffic_quota_lock (enum('n','y') )
Output:
Returns the ID of the newly added web subdomain.
sites_web_subdomain_delete.html 0000664 0000000 0000000 00000002006 13165422750 0036427 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_subdomain_delete($session_id , $primary_id );
Description:
Deletes a web subdomain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns the number of deleted records.
sites_web_subdomain_get.html 0000664 0000000 0000000 00000002054 13165422750 0035747 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_subdomain_get($session_id , $primary_id );
Description:
Retrieves information about a web subdomain.
Input Variables:
$session_id , $primary_id
Parameters (in $params ):
None
Output:
Returns all fields and values of the chosen web subdomain.
sites_web_subdomain_update.html 0000664 0000000 0000000 00000011451 13165422750 0036453 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/API-docs
ISCPConfig 3 API Functions
sites_web_subdomain_update($session_id , $client_id , $primary_id , $params );
Description:
Updates a web subdomain if type is subdomain .
Input Variables:
$session_id , $client_id , $primary_id , $params
Parameters (in $params ):
server_id (int(11) )
ip_address (varchar(39) )
domain (varchar(255) )
type (varchar(32) )
parent_domain_id (int(11) )
vhost_type (varchar(32) )
document_root (varchar(255) )
system_user (varchar(255) )
system_group (varchar(255) )
hd_quota (bigint(20) )
traffic_quota (bigint(20) )
cgi (enum('n','y') )
ssi (enum('n','y') )
suexec (enum('n','y') )
errordocs (tinyint(1) )
is_subdomainwww (tinyint(1) )
subdomain (enum('none','www','*') )
php (enum('n','y') )
ruby (enum('n','y') )
redirect_type (varchar(255) )
redirect_path (varchar(255) )
ssl (enum('n','y') )
ssl_state (varchar(255) )
ssl_locality (varchar(255) )
ssl_organisation (varchar(255) )
ssl_organisation_unit (varchar(255) )
ssl_country (varchar(255) )
ssl_domain (varchar(255) )
ssl_request (mediumtext )
ssl_cert (mediumtext )
ssl_bundle (mediumtext )
ssl_action (varchar(16) )
stats_password (varchar(255) )
stats_type (varchar(255) )
allow_override (varchar(255) )
apache_directives (mediumtext )
php_open_basedir (mediumtext )
custom_php_ini (mediumtext )
backup_interval (varchar(255) )
backup_copies (int(11) )
active (enum('n','y') )
traffic_quota_lock (enum('n','y') )
Output:
Returns the number of affected rows.
ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples/ 0000775 0000000 0000000 00000000000 13165422750 0030532 5 ustar 00root root 0000000 0000000 client_add.php 0000664 0000000 0000000 00000004672 13165422750 0033263 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$reseller_id = 0; // this id has to be 0 if the client shall not be assigned to admin or if the client is a reseller
$params = array(
'company_name' => 'awesomecompany',
'contact_name' => 'name',
'customer_no' => '1',
'vat_id' => '1',
'street' => 'fleetstreet',
'zip' => '21337',
'city' => 'london',
'state' => 'bavaria',
'country' => 'GB',
'telephone' => '123456789',
'mobile' => '987654321',
'fax' => '546718293',
'email' => 'e@mail.int',
'internet' => '',
'icq' => '111111111',
'notes' => 'awesome',
'default_mailserver' => 1,
'limit_maildomain' => -1,
'limit_mailbox' => -1,
'limit_mailalias' => -1,
'limit_mailaliasdomain' => -1,
'limit_mailforward' => -1,
'limit_mailcatchall' => -1,
'limit_mailrouting' => 0,
'limit_mailfilter' => -1,
'limit_fetchmail' => -1,
'limit_mailquota' => -1,
'limit_spamfilter_wblist' => 0,
'limit_spamfilter_user' => 0,
'limit_spamfilter_policy' => 1,
'default_webserver' => 1,
'limit_web_ip' => '',
'limit_web_domain' => -1,
'limit_web_quota' => -1,
'web_php_options' => 'no,fast-cgi,cgi,mod,suphp',
'limit_web_subdomain' => -1,
'limit_web_aliasdomain' => -1,
'limit_ftp_user' => -1,
'limit_shell_user' => 0,
'ssh_chroot' => 'no,jailkit,ssh-chroot',
'limit_webdav_user' => 0,
'default_dnsserver' => 1,
'limit_dns_zone' => -1,
'limit_dns_slave_zone' => -1,
'limit_dns_record' => -1,
'default_dbserver' => 1,
'limit_database' => -1,
'limit_cron' => 0,
'limit_cron_type' => 'url',
'limit_cron_frequency' => 5,
'limit_traffic_quota' => -1,
'limit_client' => 0, // If this value is > 0, then the client is a reseller
'parent_client_id' => 0,
'username' => 'guy3',
'password' => 'brush',
'language' => 'en',
'usertheme' => 'default',
'template_master' => 0,
'template_additional' => '',
'created_at' => 0
);
$affected_rows = $client->client_add($session_id, $reseller_id, $params);
echo "Client: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
client_change_password.php 0000664 0000000 0000000 00000001215 13165422750 0035670 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$domain = 'test.int';
$record_record = $client->mail_domain_get_by_domain($session_id, $domain);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
client_delete.php 0000664 0000000 0000000 00000001224 13165422750 0033763 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 1;
//* Delete client
$affected_rows = $client->client_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
client_delete_everything.php 0000664 0000000 0000000 00000001266 13165422750 0036235 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$client_id = 9;
//* Delete client
$affected_rows = $client->client_delete_everything($session_id, $client_id);
//echo "Client ".$client_id." has been deleted. ";
//print_r($affected_rows);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
client_get.php 0000664 0000000 0000000 00000001165 13165422750 0033304 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$var_client_id = 1;
$client_record = $client->client_get($session_id, $var_client_id);
print_r($client_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
client_get_by_username.php 0000664 0000000 0000000 00000001174 13165422750 0035675 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$username = 'guy3';
$record_record = $client->client_get_by_username($session_id, $username);
print_r($record_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
client_get_id.php 0000664 0000000 0000000 00000001162 13165422750 0033755 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$sys_userid = 5;
$client_record = $client->client_get_id($session_id, $sys_userid);
print_r($client_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
client_get_sites_by_user.php 0000664 0000000 0000000 00000001236 13165422750 0036242 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$sys_userid = 1;
$sys_groupid = 1;
$record_record = $client->client_get_sites_by_user($session_id, $sys_userid, $sys_groupid);
print_r($record_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
client_templates_get_all.php 0000664 0000000 0000000 00000001112 13165422750 0036202 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
$record_record = $client->client_templates_get_all($session_id);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
client_update.php 0000664 0000000 0000000 00000002050 13165422750 0034001 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$reseller_id = 1;
$client_id = 1;
//* Get the client record
$client_record = $client->client_get($session_id, $client_id);
//* Change parameters
$client_record['country'] = 'de';
$client_record['username'] = 'mguy';
$client_record['contact_name'] = 'brush';
//* We set the client password to a empty string as we do not want to change it.
$client_record['password'] = '';
$affected_rows = $client->client_update($session_id, $c_id, $reseller_id, $client_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_a_add.php 0000664 0000000 0000000 00000001513 13165422750 0033060 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 5,
'name' => 'a',
'type' => 'a',
'data' => '192.168.1.88',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_a_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_a_delete.php 0000664 0000000 0000000 00000001200 13165422750 0033563 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 3;
$affected_rows = $client->dns_a_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_a_get.php 0000664 0000000 0000000 00000001130 13165422750 0033102 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 3;
$dns_record = $client->dns_a_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_a_update.php 0000664 0000000 0000000 00000001506 13165422750 0033614 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 3;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_a_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_a_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_aaaa_add.php 0000664 0000000 0000000 00000001531 13165422750 0033523 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 1,
'name' => 'aaaa',
'type' => 'aaaa',
'data' => '3ffe:b00:c18:3::a',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_aaaa_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_aaaa_delete.php 0000664 0000000 0000000 00000001203 13165422750 0034231 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 1;
$affected_rows = $client->dns_aaaa_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_aaaa_get.php 0000664 0000000 0000000 00000001133 13165422750 0033550 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 1;
$dns_record = $client->dns_aaaa_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_aaaa_update.php 0000664 0000000 0000000 00000001514 13165422750 0034256 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 1;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_aaaa_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_aaaa_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_alias_add.php 0000664 0000000 0000000 00000001526 13165422750 0033735 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 4,
'name' => 'alias',
'type' => 'alias',
'data' => 'hostmachine',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_alias_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_alias_delete.php 0000664 0000000 0000000 00000001204 13165422750 0034440 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 4;
$affected_rows = $client->dns_alias_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_alias_get.php 0000664 0000000 0000000 00000001134 13165422750 0033757 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 4;
$dns_record = $client->dns_alias_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_alias_update.php 0000664 0000000 0000000 00000001516 13165422750 0034466 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 4;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_alias_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_alias_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_cname_add.php 0000664 0000000 0000000 00000001526 13165422750 0033727 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 3,
'name' => 'cname',
'type' => 'cname',
'data' => 'hostmachine',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_cname_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_cname_delete.php 0000664 0000000 0000000 00000001204 13165422750 0034432 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 5;
$affected_rows = $client->dns_cname_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_cname_get.php 0000664 0000000 0000000 00000001134 13165422750 0033751 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 5;
$dns_record = $client->dns_cname_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_cname_update.php 0000664 0000000 0000000 00000001516 13165422750 0034460 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 5;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_cname_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_cname_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_hinfo_add.php 0000664 0000000 0000000 00000001535 13165422750 0033747 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 2,
'name' => 'info',
'type' => 'hinfo',
'data' => '"Pentium Pro" Linux',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_hinfo_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_hinfo_delete.php 0000664 0000000 0000000 00000001204 13165422750 0034452 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 6;
$affected_rows = $client->dns_hinfo_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_hinfo_get.php 0000664 0000000 0000000 00000001134 13165422750 0033771 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 6;
$dns_record = $client->dns_hinfo_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_hinfo_update.php 0000664 0000000 0000000 00000001516 13165422750 0034500 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 6;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_hinfo_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_hinfo_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_mx_add.php 0000664 0000000 0000000 00000001521 13165422750 0033263 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 6,
'name' => 'mailexchanger',
'type' => 'mx',
'data' => 'mail',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_mx_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_mx_delete.php 0000664 0000000 0000000 00000001201 13165422750 0033770 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 7;
$affected_rows = $client->dns_mx_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_mx_get.php 0000664 0000000 0000000 00000001131 13165422750 0033307 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 7;
$dns_record = $client->dns_mx_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_mx_update.php 0000664 0000000 0000000 00000001510 13165422750 0034013 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 7;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_mx_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_mx_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_ns_add.php 0000664 0000000 0000000 00000001515 13165422750 0033262 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 7,
'name' => 'nameserver',
'type' => 'ns',
'data' => 'ns1',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_ns_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_ns_delete.php 0000664 0000000 0000000 00000001201 13165422750 0033764 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 8;
$affected_rows = $client->dns_ns_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_ns_get.php 0000664 0000000 0000000 00000001131 13165422750 0033303 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 8;
$dns_record = $client->dns_ns_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_ns_update.php 0000664 0000000 0000000 00000001510 13165422750 0034007 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 8;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_ns_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_ns_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_ptr_add.php 0000664 0000000 0000000 00000001534 13165422750 0033450 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 8,
'name' => 'pointer',
'type' => 'ptr',
'data' => 'webmaster.test.int.',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_ptr_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_ptr_delete.php 0000664 0000000 0000000 00000001202 13165422750 0034152 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 9;
$affected_rows = $client->dns_ptr_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_ptr_get.php 0000664 0000000 0000000 00000001132 13165422750 0033471 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 9;
$dns_record = $client->dns_ptr_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_ptr_update.php 0000664 0000000 0000000 00000001512 13165422750 0034176 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 9;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_ptr_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_ptr_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_rp_add.php 0000664 0000000 0000000 00000001571 13165422750 0033265 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 9,
'name' => 'responsibleperson',
'type' => 'rp',
'data' => 'webmaster.test.int. contactinfo.test.int',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_rp_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_rp_delete.php 0000664 0000000 0000000 00000001202 13165422750 0033766 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 10;
$affected_rows = $client->dns_rp_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_rp_get.php 0000664 0000000 0000000 00000001132 13165422750 0033305 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 10;
$dns_record = $client->dns_rp_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_rp_update.php 0000664 0000000 0000000 00000001511 13165422750 0034011 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 10;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_rp_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_rp_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_rr_get_all_by_zone.php 0000664 0000000 0000000 00000001203 13165422750 0035663 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$zone_id = 3;
$record_record = $client->dns_rr_get_all_by_zone($session_id, $zone_id);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_srv_add.php 0000664 0000000 0000000 00000001535 13165422750 0033456 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 10,
'name' => 'server',
'type' => 'srv',
'data' => '0 9 server.test.int.',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_srv_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_srv_delete.php 0000664 0000000 0000000 00000001203 13165422750 0034160 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 11;
$affected_rows = $client->dns_srv_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_srv_get.php 0000664 0000000 0000000 00000001133 13165422750 0033477 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 11;
$dns_record = $client->dns_srv_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_srv_update.php 0000664 0000000 0000000 00000001513 13165422750 0034204 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 11;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_srv_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_srv_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_txt_add.php 0000664 0000000 0000000 00000001541 13165422750 0033460 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'zone' => 11,
'name' => 'stringtext',
'type' => 'txt',
'data' => 'any text can go here',
'aux' => '0',
'ttl' => '3600',
'active' => 'y',
'stamp' => 'CURRENT_TIMESTAMP',
'serial' => '1',
);
$id = $client->dns_txt_add($session_id, $client_id, $params);
echo "ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_txt_delete.php 0000664 0000000 0000000 00000001202 13165422750 0034164 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 12;
$affected_rows = $client->dns_txt_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_txt_get.php 0000664 0000000 0000000 00000001133 13165422750 0033504 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 12;
$dns_record = $client->dns_txt_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_txt_update.php 0000664 0000000 0000000 00000001513 13165422750 0034211 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 12;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_txt_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_txt_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_zone_add.php 0000664 0000000 0000000 00000001675 13165422750 0033624 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 2;
$params = array(
'server_id' => 1,
'origin' => 'test.intt.',
'ns' => 'one',
'mbox' => 'zonemaster.test.tld.',
'serial' => '1',
'refresh' => '28800',
'retry' => '7200',
'expire' => '604800',
'minimum' => '3600',
'ttl' => '3600',
'active' => 'y',
'xfer' => '',
'also_notify' => '',
'update_acl' => '',
);
$id = $client->dns_zone_add($session_id, $client_id, $params);
echo "DNS ID: ".$id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_zone_delete.php 0000664 0000000 0000000 00000001202 13165422750 0034320 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 1;
$affected_rows = $client->dns_zone_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_zone_get.php 0000664 0000000 0000000 00000001133 13165422750 0033640 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 1;
$dns_record = $client->dns_zone_get($session_id, $id);
print_r($dns_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_zone_get_by_user.php 0000664 0000000 0000000 00000001242 13165422750 0035371 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 2;
$server_id = 1;
$record_record = $client->dns_zone_get_by_user($session_id, $client_id, $server_id);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_zone_set_status.php 0000664 0000000 0000000 00000001246 13165422750 0035264 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$primary_id = 3;
$status = 'inactive';
$record_record = $client->dns_zone_set_status($session_id, $primary_id, $status);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
dns_zone_update.php 0000664 0000000 0000000 00000001514 13165422750 0034346 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 1;
$client_id = 1;
//* Get the dns record
$dns_record = $client->dns_zone_get($session_id, $id);
//* Change active to inactive
$dns_record['active'] = 'n';
$affected_rows = $client->dns_zone_update($session_id, $client_id, $id, $dns_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
domains_domain_add.php 0000664 0000000 0000000 00000001271 13165422750 0034756 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'domain' => 'cellar.door'
);
$domain_id = $client->domains_domain_add($session_id, $client_id, $params);
echo "Domain ID: ".$domain_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
domains_domain_delete.php 0000664 0000000 0000000 00000001226 13165422750 0035470 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$domain_id = 1;
$affected_rows = $client->domains_domain_delete($session_id, $domain_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
domains_domain_get.php 0000664 0000000 0000000 00000001165 13165422750 0035007 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$domain_id = 1;
$domain_record = $client->domains_domain_get($session_id, $domain_id);
print_r($domain_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
domains_get_all_by_user.php 0000664 0000000 0000000 00000001170 13165422750 0036034 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$group_id = 0;
$record_record = $client->domains_get_all_by_user($session_id, $group_id);
print_r($record_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
get_function_list.php 0000664 0000000 0000000 00000001145 13165422750 0034704 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$record_record = $client->get_function_list($session_id);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
login.php 0000664 0000000 0000000 00000000732 13165422750 0032276 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
$session_id = $client->login($username, $password);
echo 'Logged successfull. Session ID:'.$session_id.' ';
echo "Logging out: ";
$client->logout($session_id);
echo "Logged out.";
}catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
logout.php 0000664 0000000 0000000 00000001054 13165422750 0032475 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$session = $session_id;
echo "Logging out: ";
$client->logout($session);
//Logged out
echo "Logged out.";
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_alias_add.php 0000664 0000000 0000000 00000001437 13165422750 0034074 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'source' => 'hallo@test.int',
'destination' => 'ciao@test.int',
'type' => 'alias',
'active' => 'y'
);
$affected_rows = $client->mail_alias_add($session_id, $client_id, $params);
echo "Alias ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_alias_delete.php 0000664 0000000 0000000 00000001220 13165422750 0034574 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$alias_id = 1;
$affected_rows = $client->mail_alias_delete($session_id, $alias_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_alias_get.php 0000664 0000000 0000000 00000001167 13165422750 0034123 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$alias_id = 1;
$mail_alias_record = $client->mail_alias_get($session_id, $alias_id);
print_r($mail_alias_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_alias_update.php 0000664 0000000 0000000 00000001604 13165422750 0034622 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$alias_id = 1;
$client_id = 1;
//* Get the email domain record
$mail_alias_record = $client->mail_alias_get($session_id, $alias_id);
//* Change the status to inactive
$mail_alias_record['active'] = 'n';
$affected_rows = $client->mail_alias_update($session_id, $client_id, $alias_id, $mail_alias_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_blacklist_add.php 0000664 0000000 0000000 00000001435 13165422750 0034751 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'source' => 'hmmnoeoe@test.int',
'access' => 'REJECT',
'type' => 'sender',
'active' => 'y'
);
$blacklist_id = $client->mail_blacklist_add($session_id, $client_id, $params);
echo "Blacklist ID: ".$blacklist_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_blacklist_delete.php 0000664 0000000 0000000 00000001234 13165422750 0035460 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$blacklist_id = 7;
$affected_rows = $client->mail_blacklist_delete($session_id, $blacklist_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_blacklist_get.php 0000664 0000000 0000000 00000001213 13165422750 0034772 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$blacklist_id = 7;
$mail_blacklist_record = $client->mail_blacklist_get($session_id, $blacklist_id);
print_r($mail_blacklist_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_blacklist_update.php 0000664 0000000 0000000 00000001646 13165422750 0035507 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$blacklist_id = 7;
$client_id = 1;
//* Get the mail blacklist record
$mail_blacklist_record = $client->mail_blacklist_get($session_id, $blacklist_id);
//* Change the status to inactive
$mail_blacklist_record['active'] = 'n';
$affected_rows = $client->mail_blacklist_update($session_id, $client_id, $blacklist_id, $mail_blacklist_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_catchall_add.php 0000664 0000000 0000000 00000001443 13165422750 0034553 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'source' => '@test.int',
'destination' => 'ciao@test.int',
'type' => 'catchall',
'active' => 'y'
);
$affected_rows = $client->mail_catchall_add($session_id, $client_id, $params);
echo "Catchall ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_catchall_delete.php 0000664 0000000 0000000 00000001231 13165422750 0035260 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$catchall_id = 1;
$affected_rows = $client->mail_catchall_delete($session_id, $catchall_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_catchall_get.php 0000664 0000000 0000000 00000001206 13165422750 0034577 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$catchall_id = 1;
$mail_catchall_record = $client->mail_catchall_get($session_id, $catchall_id);
print_r($mail_catchall_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_catchall_update.php 0000664 0000000 0000000 00000001634 13165422750 0035307 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$catchall_id = 1;
$client_id = 1;
//* Get the email domain record
$mail_catchall_record = $client->mail_catchall_get($session_id, $catchall_id);
//* Change the status to inactive
$mail_catchall_record['active'] = 'n';
$affected_rows = $client->mail_catchall_update($session_id, $client_id, $catchall_id, $mail_catchall_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_domain_add.php 0000664 0000000 0000000 00000001332 13165422750 0034244 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'domain' => 'test.tld',
'active' => 'y'
);
$domain_id = $client->mail_domain_add($session_id, $client_id, $params);
echo "Domain ID: ".$domain_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_domain_delete.php 0000664 0000000 0000000 00000001223 13165422750 0034755 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$domain_id = 1;
$affected_rows = $client->mail_domain_delete($session_id, $domain_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_domain_get.php 0000664 0000000 0000000 00000001174 13165422750 0034277 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$domain_id = 1;
$mail_domain_record = $client->mail_domain_get($session_id, $domain_id);
print_r($mail_domain_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_domain_get_by_domain.php 0000664 0000000 0000000 00000001215 13165422750 0036314 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$domain = 'test.int';
$record_record = $client->mail_domain_get_by_domain($session_id, $domain);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_domain_set_status.php 0000664 0000000 0000000 00000001251 13165422750 0035712 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$primary_id = 2;
$status = 'inactive';
$record_record = $client->mail_domain_set_status($session_id, $primary_id, $status);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_domain_update.php 0000664 0000000 0000000 00000001614 13165422750 0035001 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$domain_id = 1;
$client_id = 1;
//* Get the email domain record
$mail_domain_record = $client->mail_domain_get($session_id, $domain_id);
//* Change the status to inactive
$mail_domain_record['active'] = 'n';
$affected_rows = $client->mail_domain_update($session_id, $client_id, $domain_id, $mail_domain_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_fetchmail_add.php 0000664 0000000 0000000 00000001651 13165422750 0034735 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'type' => 'pop3',
'source_server' => 'webzor.ext',
'source_username' => 'someguy',
'source_password' => 'somepassword',
'source_delete' => 'n',
'destination' => 'hmmnoe@test.int',
'active' => 'y',
'source_read_all' => 'y',
);
$fetchmail_id = $client->mail_fetchmail_add($session_id, $client_id, $params);
echo "Fetchmail ID: ".$fetchmail_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_fetchmail_delete.php 0000664 0000000 0000000 00000001234 13165422750 0035444 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$fetchmail_id = 1;
$affected_rows = $client->mail_fetchmail_delete($session_id, $fetchmail_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_fetchmail_get.php 0000664 0000000 0000000 00000001213 13165422750 0034756 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$fetchmail_id = 1;
$mail_fetchmail_record = $client->mail_fetchmail_get($session_id, $fetchmail_id);
print_r($mail_fetchmail_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_fetchmail_update.php 0000664 0000000 0000000 00000001641 13165422750 0035466 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$fetchmail_id = 1;
$client_id = 1;
//* Get the fetchmail record
$mail_fetchmail_record = $client->mail_fetchmail_get($session_id, $fetchmail_id);
//* Change the status to inactive
$mail_fetchmail_record['active'] = 'n';
$affected_rows = $client->mail_fetchmail_update($session_id, $client_id, $fetchmail_id, $mail_fetchmail_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_filter_add.php 0000664 0000000 0000000 00000001445 13165422750 0034267 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'type' => 'header',
'pattern' => 'hmmnoe@test.int',
'data' => 'data',
'action' => 'DISCARD',
'active' => 'y'
);
$filter_id = $client->mail_filter_add($session_id, $client_id, $params);
echo "Filter ID: ".$filter_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_filter_delete.php 0000664 0000000 0000000 00000001223 13165422750 0034773 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$filter_id = 1;
$affected_rows = $client->mail_filter_delete($session_id, $filter_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_filter_get.php 0000664 0000000 0000000 00000001174 13165422750 0034315 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$filter_id = 1;
$mail_filter_record = $client->mail_filter_get($session_id, $filter_id);
print_r($mail_filter_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_filter_update.php 0000664 0000000 0000000 00000001614 13165422750 0035017 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$filter_id = 1;
$client_id = 1;
//* Get the email filter record
$mail_filter_record = $client->mail_filter_get($session_id, $filter_id);
//* Change the status to inactive
$mail_filter_record['active'] = 'n';
$affected_rows = $client->mail_filter_update($session_id, $client_id, $filter_id, $mail_filter_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_forward_add.php 0000664 0000000 0000000 00000001450 13165422750 0034442 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'source' => 'hallo@test.int',
'destination' => 'ciao@test.int',
'type' => 'forward',
'active' => 'y'
);
$affected_rows = $client->mail_forward_add($session_id, $client_id, $params);
echo "Forwarding ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_forward_delete.php 0000664 0000000 0000000 00000001276 13165422750 0035162 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$forwarding_id = 5;
//* Delete email forward record
$affected_rows = $client->mail_forward_delete($session_id, $forwarding_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_forward_get.php 0000664 0000000 0000000 00000001364 13165422750 0034475 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$forwarding_id = 1;
$mail_forwarding_record = $client->mail_forward_get($session_id, $forwarding_id);
// $mail_forwarding_record = $client->mail_forward_get($session_id, array('source' => '%@test.int'));
print_r($mail_forwarding_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_forward_update.php 0000664 0000000 0000000 00000001636 13165422750 0035202 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$forwarding_id = 5;
$client_id = 1;
//* Get the email forward record
$mail_forward_record = $client->mail_forward_get($session_id, $forwarding_id);
//* Change the status to inactive
$mail_forward_record['active'] = 'n';
$affected_rows = $client->mail_forward_update($session_id, $client_id, $forwarding_id, $mail_forward_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_mailinglist_add.php 0000664 0000000 0000000 00000001455 13165422750 0035317 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'domain' => 'test.int',
'listname' => 'work',
'email' => 'hmmnoe@test.int',
'password' => 'hmmyea'
);
$mailinglist_id = $client->mail_mailinglist_add($session_id, $client_id, $params);
echo "Mailinglist ID: ".$mailinglist_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_mailinglist_delete.php 0000664 0000000 0000000 00000001314 13165422750 0036023 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$mailinglist_id = 1;
//* Delete the email mailinglist record
$affected_rows = $client->mail_mailinglist_delete($session_id, $mailinglist_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_mailinglist_get.php 0000664 0000000 0000000 00000001213 13165422750 0035336 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$mailinglist_id = 1;
$mailinglist_record = $client->mail_mailinglist_get($session_id, $mailinglist_id);
print_r($mailinglist_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_mailinglist_update.php 0000664 0000000 0000000 00000001655 13165422750 0036053 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$mailinglist_id = 1;
$client_id = 1;
//* Get the email mailinglist record
$mailinglist_record = $client->mail_mailinglist_get($session_id, $mailinglist_id);
//* Change the listname to home
$mailinglist_record['listname'] = 'home';
$affected_rows = $client->mail_mailinglist_update($session_id, $client_id, $mailinglist_id, $mailinglist_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_policy_add.php 0000664 0000000 0000000 00000003350 13165422750 0034276 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'policy_name' => 'numberone',
'virus_lover' => 'Y',
'spam_lover' => 'Y',
'banned_files_lover' => 'Y',
'bad_header_lover' => 'Y',
'bypass_virus_checks' => 'Y',
'bypass_spam_checks' => 'Y',
'bypass_banned_checks' => 'Y',
'bypass_header_checks' => 'Y',
'spam_modifies_subj' => 'Y',
'virus_quarantine_to' => '',
'spam_quarantine_to' => '',
'banned_quarantine_to' => '',
'bad_header_quarantine_to' => '',
'clean_quarantine_to' => '',
'other_quarantine_to' => '',
'spam_tag_level' => 1,
'spam_tag2_level' => 1,
'spam_kill_level' => 1,
'spam_dsn_cutoff_level' => 1,
'spam_quarantine_cutoff_level' => 1,
'addr_extension_virus' => '',
'addr_extension_spam' => '',
'addr_extension_banned' => '',
'addr_extension_bad_header' => '',
'warnvirusrecip' => 'Y',
'warnbannedrecip' => 'Y',
'warnbadhrecip' => 'Y',
'newvirus_admin' => '',
'virus_admin' => '',
'banned_admin' => '',
'bad_header_admin' => '',
'spam_admin' => '',
'spam_subject_tag' => '',
'spam_subject_tag2' => '',
'message_size_limit' => 10,
'banned_rulenames' => 'welt'
);
$affected_rows = $client->mail_policy_add($session_id, $client_id, $params);
echo "Policy ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_policy_delete.php 0000664 0000000 0000000 00000001240 13165422750 0035004 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 1;
//* Delete policy record
$affected_rows = $client->mail_policy_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_policy_get.php 0000664 0000000 0000000 00000001156 13165422750 0034327 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 1;
$mail_policy_record = $client->mail_policy_get($session_id, $id);
print_r($mail_policy_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_policy_update.php 0000664 0000000 0000000 00000001604 13165422750 0035030 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 1;
$client_id = 1;
//* Get the policy record
$mail_policy_record = $client->mail_policy_get($session_id, $id);
//* Change policy_name to Hans_Werner
$mail_policy_record['policy_name'] = 'Hans_Werner';
$affected_rows = $client->mail_policy_update($session_id, $client_id, $id, $mail_policy_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_blacklist_add.php 0000664 0000000 0000000 00000001452 13165422750 0037176 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'wb' => 'B',
'rid' => '',
'email' => 'hmmnoe@test.int',
'priority' => 1,
'active' => 'y'
);
$affected_rows = $client->mail_spamfilter_blacklist_add($session_id, $client_id, $params);
echo "Blacklist ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_blacklist_delete.php 0000664 0000000 0000000 00000001305 13165422750 0037705 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$wblist_id = 2;
//* Delete email blacklist record
$affected_rows = $client->mail_spamfilter_blacklist_delete($session_id, $wblist_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_blacklist_get.php 0000664 0000000 0000000 00000001212 13165422750 0037217 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$wblist_id = 2;
$mail_wblist_record = $client->mail_spamfilter_blacklist_get($session_id, $wblist_id);
print_r($mail_wblist_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_blacklist_update.php 0000664 0000000 0000000 00000001653 13165422750 0037733 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$wblist_id = 2;
$client_id = 1;
//* Get the spamfilter blacklist record
$mail_wblist_record = $client->mail_spamfilter_blacklist_get($session_id, $wblist_id);
//* Change the priority to 2
$mail_wblist_record['priority'] = 2;
$affected_rows = $client->mail_spamfilter_blacklist_update($session_id, $client_id, $wblist_id, $mail_wblist_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_user_add.php 0000664 0000000 0000000 00000001501 13165422750 0036177 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'priority' => 3,
'policy_id' => 1,
'email' => 'hmmnoe@test.int',
'fullname' => 'Max Mustermann',
'local' => ''
);
$affected_rows = $client->mail_spamfilter_user_add($session_id, $client_id, $params);
echo "Spamfilter user ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_user_delete.php 0000664 0000000 0000000 00000001272 13165422750 0036716 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 1;
//* Delete mailing spamfilter user record
$affected_rows = $client->mail_spamfilter_user_delete($session_id, $id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_user_get.php 0000664 0000000 0000000 00000001211 13165422750 0036224 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$id = 1;
$mail_spamfilter_user_record = $client->mail_spamfilter_user_get($session_id, $id);
print_r($mail_spamfilter_user_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_user_update.php 0000664 0000000 0000000 00000001674 13165422750 0036744 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$id = 1;
$client_id = 1;
//* Get the mailing spamfilter user record
$mail_spamfilter_user_record = $client->mail_spamfilter_user_get($session_id, $id);
//* Change fullname to Hans Werner
$mail_spamfilter_user_record['fullname'] = 'Hans Werner';
$affected_rows = $client->mail_spamfilter_user_update($session_id, $client_id, $id, $mail_spamfilter_user_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_whitelist_add.php 0000664 0000000 0000000 00000001452 13165422750 0037242 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'wb' => 'W',
'rid' => '',
'email' => 'hmmnoe@test.int',
'priority' => 1,
'active' => 'y'
);
$affected_rows = $client->mail_spamfilter_whitelist_add($session_id, $client_id, $params);
echo "Whitelist ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_whitelist_delete.php 0000664 0000000 0000000 00000001305 13165422750 0037751 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$wblist_id = 1;
//* Delete email whitelist record
$affected_rows = $client->mail_spamfilter_whitelist_delete($session_id, $wblist_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_whitelist_get.php 0000664 0000000 0000000 00000001212 13165422750 0037263 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$wblist_id = 1;
$mail_wblist_record = $client->mail_spamfilter_whitelist_get($session_id, $wblist_id);
print_r($mail_wblist_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_spamfilter_whitelist_update.php 0000664 0000000 0000000 00000001653 13165422750 0037777 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$wblist_id = 1;
$client_id = 1;
//* Get the spamfilter whitelist record
$mail_wblist_record = $client->mail_spamfilter_whitelist_get($session_id, $wblist_id);
//* Change the priority to 2
$mail_wblist_record['priority'] = 2;
$affected_rows = $client->mail_spamfilter_whitelist_update($session_id, $client_id, $wblist_id, $mail_wblist_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_transport_add.php 0000664 0000000 0000000 00000001422 13165422750 0035031 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'domain' => 'test.int',
'transport' => '',
'sort_order' => 5,
'active' => 'y'
);
$affected_rows = $client->mail_transport_add($session_id, $client_id, $params);
echo "Transport ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_transport_delete.php 0000664 0000000 0000000 00000001300 13165422750 0035536 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$transport_id = 1;
//* Delete email transport record
$affected_rows = $client->mail_transport_delete($session_id, $transport_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_transport_get.php 0000664 0000000 0000000 00000001213 13165422750 0035056 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$transport_id = 1;
$mail_transport_record = $client->mail_transport_get($session_id, $transport_id);
print_r($mail_transport_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_transport_update.php 0000664 0000000 0000000 00000001647 13165422750 0035574 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$transport_id = 1;
$client_id = 1;
//* Get the email transport record
$mail_transport_record = $client->mail_transport_get($session_id, $transport_id);
//* Change the status to inactive
$mail_transport_record['active'] = 'n';
$affected_rows = $client->mail_transport_update($session_id, $client_id, $transport_id, $mail_transport_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_user_add.php 0000664 0000000 0000000 00000002601 13165422750 0033753 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'email' => 'joe@test.int',
'login' => 'joe@test.int',
'password' => 'howtoforge',
'name' => 'joe',
'uid' => 5000,
'gid' => 5000,
'maildir' => '/var/vmail/test.int/joe',
'quota' => 5242880,
'cc' => '',
'homedir' => '/var/vmail',
'autoresponder' => 'n',
'autoresponder_start_date' => array('day' => 1, 'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
'autoresponder_end_date' => array('day' => 20, 'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
'autoresponder_text' => 'hallo',
'move_junk' => 'n',
'custom_mailfilter' => 'spam',
'postfix' => 'n',
'access' => 'n',
'disableimap' => 'n',
'disablepop3' => 'n',
'disabledeliver' => 'n',
'disablesmtp' => 'n'
);
$affected_rows = $client->mail_user_add($session_id, $client_id, $params);
echo "New user: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_user_delete.php 0000664 0000000 0000000 00000001225 13165422750 0034466 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$mailuser_id = 1;
$affected_rows = $client->mail_user_delete($session_id, $mailuser_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_user_filter_add.php 0000664 0000000 0000000 00000001477 13165422750 0035332 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'mailuser_id' => '0',
'rulename' => 'NULL',
'source' => '',
'searchterm' => 'NULL',
'op' => '',
'action' => '',
'target' => '',
'active' => 'y'
);
$filter_id = $client->mail_user_filter_add($session_id, $client_id, $params);
echo "Filter ID: ".$filter_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_user_filter_delete.php 0000664 0000000 0000000 00000001272 13165422750 0036035 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$filter_id = 1;
//* Get the email filter record
$affected_rows = $client->mail_user_filter_delete($session_id, $filter_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_user_filter_get.php 0000664 0000000 0000000 00000001201 13165422750 0035342 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$filter_id = 1;
$mail_filter_record = $client->mail_user_filter_get($session_id, $filter_id);
print_r($mail_filter_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_user_filter_update.php 0000664 0000000 0000000 00000001644 13165422750 0036060 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$filter_id = 1;
$client_id = 1;
//* Get the user filter record
$mail_user_filter_record = $client->mail_user_filter_get($session_id, $filter_id);
//* Change the status to inactive
$mail_user_filter_record['active'] = 'n';
$affected_rows = $client->mail_user_filter_update($session_id, $client_id, $filter_id, $mail_user_filter_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_user_get.php 0000664 0000000 0000000 00000001140 13165422750 0033777 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$mailuser_id = 1;
$app = $client->mail_user_get($session_id, $mailuser_id);
print_r($app);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_user_update.php 0000664 0000000 0000000 00000001611 13165422750 0034505 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$mailuser_id = 1;
$client_id = 1;
//* Get the email user record
$mail_user_record = $client->mail_user_get($session_id, $mailuser_id);
//* Change the status to inactive
$mail_user_record['name'] = 'hmmyea';
$affected_rows = $client->mail_user_update($session_id, $client_id, $mailuser_id, $mail_user_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_whitelist_add.php 0000664 0000000 0000000 00000001431 13165422750 0035011 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'source' => 'hmmnoeoe@test.int',
'access' => 'OK',
'type' => 'sender',
'active' => 'y'
);
$whitelist_id = $client->mail_whitelist_add($session_id, $client_id, $params);
echo "Whitelist ID: ".$whitelist_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_whitelist_delete.php 0000664 0000000 0000000 00000001234 13165422750 0035524 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$whitelist_id = 5;
$affected_rows = $client->mail_whitelist_delete($session_id, $whitelist_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_whitelist_get.php 0000664 0000000 0000000 00000001213 13165422750 0035036 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$whitelist_id = 3;
$mail_whitelist_record = $client->mail_whitelist_get($session_id, $whitelist_id);
print_r($mail_whitelist_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
mail_whitelist_update.php 0000664 0000000 0000000 00000001647 13165422750 0035554 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$whitelist_id = 5;
$client_id = 1;
//* Get the email whitelist record
$mail_whitelist_record = $client->mail_whitelist_get($session_id, $whitelist_id);
//* Change the status to inactive
$mail_whitelist_record['active'] = 'n';
$affected_rows = $client->mail_whitelist_update($session_id, $client_id, $whitelist_id, $mail_whitelist_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
monitor_jobqueue_count.php 0000664 0000000 0000000 00000001554 13165422750 0035767 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples [
// set some SSL/TLS specific options
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
]
]);
$client = new SoapClient(null, array('location' => $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1,
'stream_context' => $context));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$server_id = 1;
$result = $client->monitor_jobqueue_count($session_id, $server_id);
print_r($result);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_get_free_ip.php 0000664 0000000 0000000 00000001166 13165422750 0035041 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$record_record = $client->openvz_get_free_ip($session_id, $server_id = 0);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_ip_add.php 0000664 0000000 0000000 00000001347 13165422750 0034012 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'ip_address' => '192.168.0.111',
'vm_id' => 1,
'reserved' => 'n'
);
$ip_id = $client->openvz_ip_add($session_id, $client_id, $params);
echo "IP ID: ".$ip_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_ip_delete.php 0000664 0000000 0000000 00000001244 13165422750 0034520 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$ip_id = 2;
//* delete the ip record
$affected_rows = $client->openvz_ip_delete($session_id, $ip_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_ip_get.php 0000664 0000000 0000000 00000001140 13165422750 0034030 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$ip_id = 2;
$ip_record = $client->openvz_ip_get($session_id, $ip_id);
print_r($ip_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_ip_update.php 0000664 0000000 0000000 00000001540 13165422750 0034537 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$ip_id = 2;
$client_id = 1;
//* Get the openvz ip record
$ip_record = $client->openvz_ip_get($session_id, $ip_id);
//* Change the reservation to yes
$ip_record['reserved'] = 'y';
$affected_rows = $client->openvz_ip_update($session_id, $client_id, $ip_id, $ip_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_ostemplate_add.php 0000664 0000000 0000000 00000001502 13165422750 0035550 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'template_name' => 'tone',
'template_file' => 'custom',
'server_id' => 1,
'allservers' => 'y',
'active' => 'y',
'description' => 'howto',
);
$ostemplate_id = $client->openvz_ostemplate_add($session_id, $client_id, $params);
echo "Ostemplate ID: ".$ostemplate_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_ostemplate_delete.php 0000664 0000000 0000000 00000001304 13165422750 0036262 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$ostemplate_id = 2;
//* delete the ostemplate record
$affected_rows = $client->openvz_ostemplate_delete($session_id, $ostemplate_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_ostemplate_get.php 0000664 0000000 0000000 00000001210 13165422750 0035573 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$ostemplate_id = 2;
$ostemplate_record = $client->openvz_ostemplate_get($session_id, $ostemplate_id);
print_r($ostemplate_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_ostemplate_update.php 0000664 0000000 0000000 00000001640 13165422750 0036305 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$ostemplate_id = 2;
$client_id = 1;
//* Get the os template record
$ostemplate_record = $client->openvz_ostemplate_get($session_id, $ostemplate_id);
//* Change the status to inactive
$ostemplate_record['active'] = 'n';
$affected_rows = $client->openvz_ostemplate_update($session_id, $client_id, $ostemplate_id, $ostemplate_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_template_add.php 0000664 0000000 0000000 00000003442 13165422750 0035213 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'template_name' => 'tone',
'diskspace' => 10,
'traffic' => -1,
'bandwidth' => -1,
'ram' => 256,
'ram_burst' => 512,
'cpu_units' => 1000,
'cpu_num' => 4,
'cpu_limit' => 400,
'io_priority' => 4,
'active' => 'y',
'description' => 'howto',
'numproc' => '999999:999999',
'numtcpsock' => '7999992:7999992',
'numothersock' => '7999992:7999992',
'vmguarpages' => '65536:unlimited',
'kmemsize' => '2147483646:2147483646',
'tcpsndbuf' => '214748160:396774400',
'tcprcvbuf' => '214748160:396774400',
'othersockbuf' => '214748160:396774400',
'dgramrcvbuf' => '214748160:396774400',
'oomguarpages' => '65536:65536',
'privvmpages' => '131072:139264',
'lockedpages' => '999999:999999',
'shmpages' => '65536:65536',
'physpages' => '0:2147483647',
'numfile' => '23999976:23999976',
'avnumproc' => '180:180',
'numflock' => '999999:999999',
'numpty' => '500000:500000',
'numsiginfo' => '999999:999999',
'dcachesize' => '2147483646:2147483646',
'numiptent' => '999999:999999',
'swappages' => '256000:256000',
'hostname' => 'host',
'nameserver' => 'ns1',
'create_dns' => 'n',
'capability' => ''
);
$template_id = $client->openvz_template_add($session_id, $client_id, $params);
echo "Template ID: ".$template_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_template_delete.php 0000664 0000000 0000000 00000001274 13165422750 0035726 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$template_id = 2;
//* delete the template record
$affected_rows = $client->openvz_template_delete($session_id, $template_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_template_get.php 0000664 0000000 0000000 00000001176 13165422750 0035244 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$template_id = 2;
$template_record = $client->openvz_template_get($session_id, $template_id);
print_r($template_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_template_update.php 0000664 0000000 0000000 00000001624 13165422750 0035745 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$template_id = 2;
$client_id = 1;
//* Get the openvz template record
$template_record = $client->openvz_template_get($session_id, $template_id);
//* Change the status to inactive
$template_record['active'] = 'n';
$affected_rows = $client->openvz_template_update($session_id, $client_id, $template_id, $template_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_vm_add.php 0000664 0000000 0000000 00000002260 13165422750 0034017 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'veid' => 1,
'ostemplate_id' => 0,
'template_id' => 0,
'ip_address' => '192.168.0.111',
'hostname' => 'host',
'vm_password' => 'password',
'start_boot' => 'y',
'active' => 'y',
'active_until_date' => '',
'description' => '',
'diskspace' => 10,
'traffic' => -1,
'bandwidth' => -1,
'ram' => 256,
'ram_burst' => 512,
'cpu_units' => 1000,
'cpu_num' => 4,
'cpu_limit' => 400,
'io_priority' => 4,
'nameserver' => '8.8.8.8 8.8.4.4',
'create_dns' => 'n',
'capability' => '',
'config' => ''
);
$vm_id = $client->openvz_vm_add($session_id, $client_id, $params);
echo "VM ID: ".$vm_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_vm_add_from_template.php 0000664 0000000 0000000 00000001706 13165422750 0036741 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Params are optional for this function. If params are set,
//* then they override the template settings.
$params = array();
//* Set the function parameters.
$client_id = 0;
$ostemplate_id = 3;
$template_id = 3;
$vm_id = $client->openvz_vm_add_from_template($session_id, $client_id, $ostemplate_id, $template_id, $params);
print_r($vm_id);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_vm_delete.php 0000664 0000000 0000000 00000001261 13165422750 0034531 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$vm_id = 1;
//* delete the virtual machine record
$affected_rows = $client->openvz_vm_delete($session_id, $vm_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_vm_get.php 0000664 0000000 0000000 00000001140 13165422750 0034042 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$vm_id = 1;
$vm_record = $client->openvz_vm_get($session_id, $vm_id);
print_r($vm_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_vm_get_by_client.php 0000664 0000000 0000000 00000001155 13165422750 0036100 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set function parameters
$client_id = 4;
$vm_record = $client->openvz_vm_get_by_client($session_id, $client_id);
print_r($vm_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
openvz_vm_update.php 0000664 0000000 0000000 00000001532 13165422750 0034552 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$vm_id = 1;
$client_id = 1;
//* Get the virtual machine record
$vm_record = $client->openvz_vm_get($session_id, $vm_id);
//* Change active to no
$vm_record['active'] = 'n';
$affected_rows = $client->openvz_vm_update($session_id, $client_id, $vm_id, $vm_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
rest_example.php 0000664 0000000 0000000 00000003336 13165422750 0033661 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $remote_user, 'password' => $remote_pass, 'client_login' => false));
if($result) {
$data = json_decode($result, true);
if(!$data) die("ERROR!\n");
$session_id = $data['response'];
$result = restCall('client_get', array('session_id' => $session_id, 'client_id' => array('username' => 'abcde')));
if($result) var_dump(json_decode($result, true));
else print "Could not get client_get result\n";
// or by id
$result = restCall('client_get', array('session_id' => $session_id, 'client_id' => 2));
if($result) var_dump(json_decode($result, true));
else print "Could not get client_get result\n";
// or all
$result = restCall('client_get', array('session_id' => $session_id, 'client_id' => array()));
if($result) var_dump(json_decode($result, true));
else print "Could not get client_get result\n";
$result = restCall('logout', array('session_id' => $session_id));
if($result) var_dump(json_decode($result, true));
else print "Could not get logout result\n";
}
server_config_set.php 0000664 0000000 0000000 00000001610 13165422750 0034670 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples [
// set some SSL/TLS specific options
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
]
]);
$client = new SoapClient(null, array('location' => $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1,
'stream_context' => $context));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$server_id = 1;
$result = $client->server_config_set($session_id, $server_id, 'server', 'migration_mode', 'y');
print_r($result);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
server_get.php 0000664 0000000 0000000 00000001211 13165422750 0033324 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$server_id = 1;
$record_record = $client->server_get($session_id, $server_id, $section ='');
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
server_get_serverid_by_ip.php 0000664 0000000 0000000 00000001230 13165422750 0036412 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$ipaddress = '192.168.0.112';
$record_record = $client->server_get_serverid_by_ip($session_id, $ipaddress);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_cron_add.php 0000664 0000000 0000000 00000001547 13165422750 0034153 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$params = array(
'server_id' => 1,
'parent_domain_id' => 1,
'type' => 'url',
'command' => 'echo 1',
'run_min' => '1',
'run_hour' => '1',
'run_mday' => '1',
'run_month' => '1',
'run_wday' => '1',
'active' => 'y',
);
$affected_rows = $client->sites_cron_add($session_id, $client_id, $params);
echo "Cron ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_cron_delete.php 0000664 0000000 0000000 00000001247 13165422750 0034662 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$cron_id = 1;
//* Delete cron record
$affected_rows = $client->sites_cron_delete($session_id, $cron_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_cron_get.php 0000664 0000000 0000000 00000001151 13165422750 0034171 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$cron_id = 1;
$cron_record = $client->sites_cron_get($session_id, $cron_id);
print_r($cron_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_cron_update.php 0000664 0000000 0000000 00000001535 13165422750 0034702 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$client_id = 1;
$cron_id = 1;
//* Get the cron record
$cron_record = $client->sites_cron_get($session_id, $cron_id);
//* Change active to no
$cron_record['active'] = 'n';
$affected_rows = $client->sites_cron_update($session_id, $client_id, $cron_id, $cron_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_database_add.php 0000664 0000000 0000000 00000001736 13165422750 0034756 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'type' => 'mysql',
'parent_domain_id' => 1,
'database_name' => 'db_name2',
'database_user_id' => '1',
'database_ro_user_id' => '0',
'database_charset' => 'UTF8',
'remote_access' => 'y',
'remote_ips' => '',
'backup_interval' => 'none',
'backup_copies' => 1,
'active' => 'y'
);
$database_id = $client->sites_database_add($session_id, $client_id, $params);
echo "Database ID: ".$database_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_database_delete.php 0000664 0000000 0000000 00000001270 13165422750 0035461 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$database_id = 1;
//* Get the database record
$affected_rows = $client->sites_database_delete($session_id, $database_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_database_get.php 0000664 0000000 0000000 00000001175 13165422750 0035002 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$database_id = 1;
$database_record = $client->sites_database_get($session_id, $database_id);
print_r($database_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_database_get_all_by_user.php 0000664 0000000 0000000 00000001220 13165422750 0037351 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$record_record = $client->sites_database_get_all_by_user($session_id, $client_id);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_database_update.php 0000664 0000000 0000000 00000001613 13165422750 0035502 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$database_id = 1;
$client_id = 1;
//* Get the database record
$database_record = $client->sites_database_get($session_id, $database_id);
//* Change the status to inactive
$database_record['active'] = 'n';
$affected_rows = $client->sites_database_update($session_id, $client_id, $database_id, $database_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_database_user_add.php 0000664 0000000 0000000 00000001413 13165422750 0036004 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'database_user' => 'db_name2',
'database_password' => 'db_name2'
);
$database_user_id = $client->sites_database_user_add($session_id, $client_id, $params);
echo "Database ID: ".$database_user_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_database_user_delete.php 0000664 0000000 0000000 00000001307 13165422750 0036520 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$database_user_id = 1;
//* Get the database record
$affected_rows = $client->sites_database_user_delete($session_id, $database_user_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_database_user_get.php 0000664 0000000 0000000 00000001214 13165422750 0036032 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$database_user_id = 1;
$database_record = $client->sites_database_user_get($session_id, $database_user_id);
print_r($database_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_database_user_update.php 0000664 0000000 0000000 00000001711 13165422750 0036537 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$database_user_id = 1;
$client_id = 1;
//* Get the database record
$database_user_record = $client->sites_database_user_get($session_id, $database_user_id);
//* Change password of the database user
$database_user_record['database_password'] = 'abcde';
$affected_rows = $client->sites_database_user_update($session_id, $client_id, $database_user_id, $database_user_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_ftp_user_add.php 0000664 0000000 0000000 00000001765 13165422750 0035043 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'parent_domain_id' => 1,
'username' => 'tom',
'password' => 'secret',
'quota_size' => 10000,
'active' => 'y',
'uid' => '5000',
'gid' => '5000',
'dir' => '/var/www/clients/client0/web1',
'quota_files' => -1,
'ul_ratio' => -1,
'dl_ratio' => -1,
'ul_bandwidth' => -1,
'dl_bandwidth' => -1
);
$affected_rows = $client->sites_ftp_user_add($session_id, $client_id, $params);
echo "FTP User ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_ftp_user_delete.php 0000664 0000000 0000000 00000001233 13165422750 0035543 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$ftp_user_id = 1;
$affected_rows = $client->sites_ftp_user_delete($session_id, $ftp_user_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_ftp_user_get.php 0000664 0000000 0000000 00000001175 13165422750 0035065 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$ftp_user_id = 1;
$ftp_user_record = $client->sites_ftp_user_get($session_id, $ftp_user_id);
print_r($ftp_user_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_ftp_user_update.php 0000664 0000000 0000000 00000001601 13165422750 0035562 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$client_id = 0;
$ftp_user_id = 1;
//* Get the ftp user record
$ftp_user_record = $client->sites_ftp_user_get($session_id, $ftp_user_id);
//* Change active to no
$ftp_user_record['active'] = 'n';
$affected_rows = $client->sites_ftp_user_update($session_id, $client_id, $ftp_user_id, $ftp_user_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_shell_user_add.php 0000664 0000000 0000000 00000001674 13165422750 0035360 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 3;
$params = array(
'server_id' => 1,
'parent_domain_id' => 1,
'username' => 'tom',
'password' => 'test',
'quota_size' => 10000,
'active' => 'y',
'puser' => 'web1',
'pgroup' => 'client0',
'shell' => '/bin/bash',
'dir' => '/var/www/clients/client0/web1',
'chroot' => ''
);
$affected_rows = $client->sites_shell_user_add($session_id, $client_id, $params);
echo "Shell User ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_shell_user_delete.php 0000664 0000000 0000000 00000001303 13165422750 0036057 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$shell_user_id = 1;
//* Delete the shell user record
$affected_rows = $client->sites_shell_user_delete($session_id, $shell_user_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_shell_user_get.php 0000664 0000000 0000000 00000001207 13165422750 0035377 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$shell_user_id = 1;
$shell_user_record = $client->sites_shell_user_get($session_id, $shell_user_id);
print_r($shell_user_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_shell_user_update.php 0000664 0000000 0000000 00000001623 13165422750 0036104 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$client_id = 0;
$shell_user_id = 1;
//* Get the shell user record
$shell_user_record = $client->sites_shell_user_get($session_id, $shell_user_id);
//* Change active to no
$shell_user_record['active'] = 'n';
$affected_rows = $client->sites_shell_user_update($session_id, $client_id, $shell_user_id, $shell_user_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_aliasdomain_add.php 0000664 0000000 0000000 00000003247 13165422750 0036327 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'ip_address' => '',
'domain' => 'tssssst.int',
'type' => 'alias',
'parent_domain_id' => 1,
'vhost_type' => '',
'document_root' => '/web/dom',
'system_user' => 'benutzer',
'system_group' => 'gruppe',
'hd_quota' => 100000,
'traffic_quota' => -1,
'cgi' => 'y',
'ssi' => 'y',
'suexec' => 'y',
'errordocs' => 1,
'is_subdomainwww' => 1,
'subdomain' => '',
'php' => 'y',
'ruby' => 'n',
'redirect_type' => '',
'redirect_path' => '',
'ssl' => 'n',
'ssl_state' => '',
'ssl_locality' => '',
'ssl_organisation' => '',
'ssl_organisation_unit' => '',
'ssl_country' => '',
'ssl_domain' => '',
'ssl_request' => '',
'ssl_cert' => '',
'ssl_bundle' => '',
'ssl_action' => '',
'stats_password' => '',
'stats_type' => 'webalizer',
'allow_override' => 'All',
'apache_directives' => '',
'php_open_basedir' => '/php',
'custom_php_ini' => '',
'backup_interval' => '',
'backup_copies' => 1,
'active' => 'y',
'traffic_quota_lock' => 'n'
);
$aliasdomain_id = $client->sites_web_aliasdomain_add($session_id, $client_id, $params);
echo "Aliasdomain ID: ".$aliasdomain_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_aliasdomain_delete.php 0000664 0000000 0000000 00000001310 13165422750 0037026 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$aliasdomain_id = 8;
//* Get the aliasdomain record
$affected_rows = $client->sites_web_aliasdomain_delete($session_id, $aliasdomain_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_aliasdomain_get.php 0000664 0000000 0000000 00000001220 13165422750 0036343 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$aliasdomain_id = 8;
$aliasdomain_record = $client->sites_web_aliasdomain_get($session_id, $aliasdomain_id);
print_r($aliasdomain_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_aliasdomain_update.php 0000664 0000000 0000000 00000001656 13165422750 0037063 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$aliasdomain_id = 8;
$client_id = 1;
//* Get the aliasdomain record
$aliasdomain_record = $client->sites_web_aliasdomain_get($session_id, $aliasdomain_id);
//* Change the status to inactive
$aliasdomain_record['active'] = 'n';
$affected_rows = $client->sites_web_aliasdomain_update($session_id, $client_id, $aliasdomain_id, $aliasdomain_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_domain_add.php 0000664 0000000 0000000 00000003246 13165422750 0035314 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'ip_address' => '*',
'domain' => 'test2.int',
'type' => 'vhost',
'parent_domain_id' => 0,
'vhost_type' => 'name',
'hd_quota' => 100000,
'traffic_quota' => -1,
'cgi' => 'y',
'ssi' => 'y',
'suexec' => 'y',
'errordocs' => 1,
'is_subdomainwww' => 1,
'subdomain' => '',
'php' => 'y',
'ruby' => 'n',
'redirect_type' => '',
'redirect_path' => '',
'ssl' => 'n',
'ssl_state' => '',
'ssl_locality' => '',
'ssl_organisation' => '',
'ssl_organisation_unit' => '',
'ssl_country' => '',
'ssl_domain' => '',
'ssl_request' => '',
'ssl_key' => '',
'ssl_cert' => '',
'ssl_bundle' => '',
'ssl_action' => '',
'stats_password' => '',
'stats_type' => 'webalizer',
'allow_override' => 'All',
'apache_directives' => '',
'php_open_basedir' => '/',
'pm_max_requests' => 0,
'pm_process_idle_timeout' => 10,
'custom_php_ini' => '',
'backup_interval' => '',
'backup_copies' => 1,
'active' => 'y',
'traffic_quota_lock' => 'n'
);
$affected_rows = $client->sites_web_domain_add($session_id, $client_id, $params, $readonly = false);
echo "Web Domain ID: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_domain_delete.php 0000664 0000000 0000000 00000001273 13165422750 0036024 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$domain_id = 2;
//* Delete the web domain record
$affected_rows = $client->sites_web_domain_delete($session_id, $domain_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_domain_get.php 0000664 0000000 0000000 00000001167 13165422750 0035343 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$domain_id = 2;
$domain_record = $client->sites_web_domain_get($session_id, $domain_id);
print_r($domain_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_domain_set_status.php 0000664 0000000 0000000 00000001254 13165422750 0036757 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$status = 'active';
$primary_id = 1;
$record_record = $client->sites_web_domain_set_status($session_id, $primary_id, $status);
print_r($record_record);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_domain_update.php 0000664 0000000 0000000 00000002001 13165422750 0036032 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$client_id = 0;
$domain_id = 1;
//* Get the web domain record
$domain_record = $client->sites_web_domain_get($session_id, $domain_id);
//* Change parameters
$domain_record['active'] = 'n';
$domain_record['document_root'] = '/web/doc';
$domain_record['allow_override'] = 'All';
$domain_record['php_open_basedir'] = '/php';
$affected_rows = $client->sites_web_domain_update($session_id, $client_id, $domain_id, $domain_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_subdomain_add.php 0000664 0000000 0000000 00000003245 13165422750 0036025 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$client_id = 1;
$params = array(
'server_id' => 1,
'ip_address' => '',
'domain' => 'tsssssubt.int',
'type' => 'subdomain',
'parent_domain_id' => 1,
'vhost_type' => '',
'document_root' => '/web/dom',
'system_user' => 'benutzer',
'system_group' => 'gruppe',
'hd_quota' => 100000,
'traffic_quota' => -1,
'cgi' => 'y',
'ssi' => 'y',
'suexec' => 'y',
'errordocs' => 1,
'is_subdomainwww' => 1,
'subdomain' => '',
'php' => 'y',
'ruby' => 'n',
'redirect_type' => '',
'redirect_path' => '',
'ssl' => 'n',
'ssl_state' => '',
'ssl_locality' => '',
'ssl_organisation' => '',
'ssl_organisation_unit' => '',
'ssl_country' => '',
'ssl_domain' => '',
'ssl_request' => '',
'ssl_cert' => '',
'ssl_bundle' => '',
'ssl_action' => '',
'stats_password' => '',
'stats_type' => 'webalizer',
'allow_override' => 'All',
'apache_directives' => '',
'php_open_basedir' => '/php',
'custom_php_ini' => '',
'backup_interval' => '',
'backup_copies' => 1,
'active' => 'y',
'traffic_quota_lock' => 'n'
);
$subdomain_id = $client->sites_web_subdomain_add($session_id, $client_id, $params);
echo "Subdomain ID: ".$subdomain_id." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_subdomain_delete.php 0000664 0000000 0000000 00000001301 13165422750 0036526 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$subdomain_id = 10;
//* Get the subdomain record
$affected_rows = $client->sites_web_subdomain_delete($session_id, $subdomain_id);
echo "Number of records that have been deleted: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_subdomain_get.php 0000664 0000000 0000000 00000001207 13165422750 0036050 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$subdomain_id = 10;
$subdomain_record = $client->sites_web_subdomain_get($session_id, $subdomain_id);
print_r($subdomain_record);
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
sites_web_subdomain_update.php 0000664 0000000 0000000 00000001635 13165422750 0036560 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Parameters
$subdomain_id = 10;
$client_id = 1;
//* Get the subdomain record
$subdomain_record = $client->sites_web_subdomain_get($session_id, $subdomain_id);
//* Change the status to inactive
$subdomain_record['active'] = 'n';
$affected_rows = $client->sites_web_subdomain_update($session_id, $client_id, $subdomain_id, $subdomain_record);
echo "Number of records that have been changed in the database: ".$affected_rows." ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
soap-database-add.php 0000664 0000000 0000000 00000002373 13165422750 0034423 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples $soap_location,
'uri' => $soap_uri));
try {
if($session_id = $client->login($username, $password)) {
echo "Logged:".$session_id." \n";
}
$database_type = 'mysql'; //Only mysql type avaliable more types coming soon.
$database_name = 'yourdbname';
$database_username = 'yourusername';
$database_password = 'yourpassword';
$database_charset = ''; // blank = db default, latin1 or utf8
$database_remoteips = ''; //remote ip´s separated by commas
$params = array(
'server_id' => 1,
'type' => $database_type,
'database_name' => $database_name,
'database_user' => $database_username,
'database_password' => $database_password,
'database_charset' => $database_charset,
'remote_access' => 'n', // n disabled - y enabled
'active' => 'y', // n disabled - y enabled
'remote_ips' => $database_remoteips
);
$client_id = 1;
$database_id = $client->sites_database_add($session_id, $client_id, $params);
if($client->logout($session_id)) {
echo "Logout. \n";
}
} catch (SoapFault $e) {
die('Error: '.$e->getMessage());
}
?>
soap_config.php 0000664 0000000 0000000 00000000525 13165422750 0033455 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples
system_config_set.php 0000664 0000000 0000000 00000001600 13165422750 0034705 0 ustar 00root root 0000000 0000000 ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/examples [
// set some SSL/TLS specific options
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
]
]);
$client = new SoapClient(null, array('location' => $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1,
'stream_context' => $context));
try {
if($session_id = $client->login($username, $password)) {
echo 'Logged successfull. Session ID:'.$session_id.' ';
}
//* Set the function parameters.
$server_id = 1;
$result = $client->system_config_set($session_id, 'misc', 'company_name', 'ISPConfig');
print_r($result);
echo " ";
if($client->logout($session_id)) {
echo 'Logged out. ';
}
} catch (SoapFault $e) {
echo $client->__getLastResponse();
die('SOAP Error: '.$e->getMessage());
}
?>
ispconfig3-b5538a812e53de6f76208944715151ed09dde03c-remoting_client/remoting_client/readme 0000664 0000000 0000000 00000000774 13165422750 0030104 0 ustar 00root root 0000000 0000000
--------------------------------------------------------
- Remote API example files
--------------------------------------------------------
The examples folder contains a example script for every
Remote api function. The login details and URL for the
remote connection are defined in the file soap_config.php
--------------------------------------------------------
- Remote API documentation
--------------------------------------------------------
The startpage of the API documentation is main.html