View Single Post
  #9 (permalink)  
Old 07-09-2009, 03:51 AM
paulipv paulipv is offline
Registered User
 
Join Date: Jul 2009
Posts: 19
paulipv is on a distinguished road
David,
This is the XML/Array result generated by our class for account domain modification.

How looks to you?
PHP Code:
Array
(
    [
obj] => modifyacctdomain
    
[server] => central.ipvhost.ro
    
[time] => 1247125858
    
[date] => 2009-07-09 10:50:58
    
[remote_addr] => 192.168.0.1
    
[set] => Array
        (
            [
username] => myacc
        
)

    [
get] => Array
        (
            [
messages] => Shell already set to /usr/local/cpanel/bin/noshell

            
[bwlimit] => unlimited
            
[contactemail] => myacc@mydomainname.com
            
[contactemail2] => 
            [
demo] => 0
            
[domain] => mydomain1.com
            
[featurelist] => default
            [
hascgi] => 1
            
[ip] => 188.40.64.208
            
[lang] => english-utf8
            
[maxaddon] => unlimited
            
[maxftp] => unlimited
            
[maxlst] => unlimited
            
[maxpark] => unlimited
            
[maxpop] => unlimited
            
[maxsql] => unlimited
            
[maxsub] => unlimited
            
[owner] => root
            
[plan] => WHM-IPV
            
[rs] => x3
            
[startdate] => 1247124329
            
[user] => myacc
            
[cpuser] => 
            [
setshell] => noshell
            
[newcfg] => 
            [
status] => 1
            
[statusmsg] => Account Modified
            
[result] => 
        )

    [
status] => 1
    
[statusmsg] => Account Modified

PHP Code:
 <modifyacctdomain>
  <
obj>modifyacctdomain</obj
  <
server>1.1.1.1</server
  <
time>1247125654</time
  <
date>2009-07-09 10:47:34</date
  <
remoteaddr>192.168.0.1</remoteaddr
 <
set>
  <
username>myacc</username
  </
set>
 <
get>
  <
messages>Shell already set to /usr/local/cpanel/bin/noshell</messages
  <
bwlimit>unlimited</bwlimit
  <
contactemail>myacc@mydomainname.com</contactemail
  <
contactemail /> 
  <
demo>0</demo
  <
domain>mydomain1.com</domain
  <
featurelist>default</featurelist
  <
hascgi>1</hascgi
  <
ip>2.2.2.2</ip
  <
lang>english-utf8</lang
  <
maxaddon>unlimited</maxaddon
  <
maxftp>unlimited</maxftp
  <
maxlst>unlimited</maxlst
  <
maxpark>unlimited</maxpark
  <
maxpop>unlimited</maxpop
  <
maxsql>unlimited</maxsql
  <
maxsub>unlimited</maxsub
  <
owner>root</owner
  <
plan>WHM-IPV</plan
  <
rs>x3</rs
  <
startdate>1247124329</startdate
  <
user>myacc</user
  <
cpuser /> 
  <
setshell>noshell</setshell
  <
newcfg /> 
  <
status>1</status
  <
statusmsg>Account Modified</statusmsg
  <
result /> 
  </
get>
  <
status>1</status
  <
statusmsg>Account Modified</statusmsg
  </
modifyacctdomain
Reply With Quote