hi,
its a good idea, but it doesnt work with my installation.
i use coldfusion here is my code:
<cfset LOGIN = "admin">
<cfset PASSWD = "setup">
<cfxml variable="xmlSend">
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.4.2.0">
<client>
<add>
<gen_info>
<cname>LogicSoft Ltd.</cname>
<pname>Stephen Lowell</pname>
<login>stevelow</login>
<passwd>steve78</passwd>
<status>0</status>
<phone>416 907 9944</phone>
<fax>928 752 3905</fax>
<email>
[email protected]</email>
<address>105 Brisbane Road, Unit 2</address>
<city>Toronto</city>
<state/>
<pcode/>
<country>CA</country>
</gen_info>
<limits>
<disk_space>100000</disk_space>
<max_dom>50</max_dom>
<max_subdom>250</max_subdom>
<max_webapps>30</max_webapps>
<max_traffic>50000</max_traffic>
<max_db>200</max_db>
<mysql_dbase_space>50000</mysql_dbase_space>
<max_shared_ssl_links>50</max_shared_ssl_links>
<expiration>1134616208</expiration>
</limits>
<permissions>
<create_domains>true</create_domains>
<manage_phosting>true</manage_phosting>
<manage_quota>false</manage_quota>
<manage_subdomains>true</manage_subdomains>
<change_limits>true</change_limits>
<manage_dns>true</manage_dns>
<manage_log>true</manage_log>
<manage_anonftp>true</manage_anonftp>
<manage_webapps>true</manage_webapps>
<manage_sh_access>true</manage_sh_access>
<manage_maillists>true</manage_maillists>
<make_dumps>true</make_dumps>
<remote_access_interface>true</remote_access_interface>
<cp_access>true</cp_access>
<manage_domain_aliases>true</manage_domain_aliases>
</permissions>
</add>
</client>
</packet>
</cfxml>
<cfhttp method="post" url="https://mydomain.com:8443/enterprise/control/agent.php" username="#LOGIN#" password="#PASSWD#">
<cfhttpparam type="xml" name="REQUEST" value="#xmlSend#">
<cfhttpparam type="header" name="HTTP_AUTH_LOGIN" value="#LOGIN#">
<cfhttpparam type="header" name="HTTP_AUTH_PASSWD" value="#PASSWD#">
<cfhttpparam type="header" name="HTTP_PRETTY_PRINT" value="TRUE">
<cfhttpparam type="header" name="Content-Type" value="text/xml">
</cfhttp>
<html>
<head>
<title>Test</title>
</head>
<body>
FileContent: <cfoutput>#cfhttp.FileContent#<br>#cfhttp.errordetail#</cfoutput>
</body>
</html>