Prev Previous Post   Next Post Next
  #1  
Old 15th December 2010, 12:16
holykim holykim is offline
Member
 
Join Date: Jan 2009
Posts: 53
Thanks: 15
Thanked 4 Times in 3 Posts
Default ISPConfig 3.0.3.1 API

Hi Till

Thank you for your reply. My code is below which is the exactly same with a sample code just except the params. Please advise exactly what I have to change?

Thanks

Harry


PHP Code:
try {
    
    
$params = array(        'server_id' => 1,
                            
'company_name' => $mb_2,
                            
'contact_name' => $contact_name,
                            
'username' => $mb_mid,
                            
'password' => $mb_password,
                            
'language' =>'en',
                            
'usertheme' =>'default',
                            
'street' => $street,
                            
'zip' => $mb_zip,
                            
'city' => $mb_city,
                            
'state' => $mb_state,
                            
'country' => $mb_country,
                            
'telephone' => $telephone,
                            
'mobile' => $mobile,
                               
'fax' => $fax,
                               
'email' => $mb_email,
                            
'internet' =>'',
                            
'icq' =>'',
                               
'notes' =>'',  
                            
'template_master' => '0',
                            
'template_additional' => '',
                            
'default_mailserver' => '1',
                            
'limit_maildomain' => '-1',
                            
'limit_mailbox' => $limit_mailbox,
                            
'limit_mailalias' => '-1',
                            
'limit_mailaliasdomain' => '-1',
                            
'limit_mailforward' => '-1',
                            
'limit_mailcatchall' => '-1',
                            
'limit_mailrouting' => '0',
                            
'limit_mailfilter' => '0',
                               
'limit_fetchmail' => '-1',
                            
'limit_mailquota' => $limit_mailquota,
                            
'limit_spamfilter_wblist' => '0',
                            
'limit_spamfilter_user' => '0',
                            
'limit_spamfilter_policy' => '0',
                            
'default_webserver' => '1',
                            
'limit_web_domain' => $limit_web_domain,
                            
'limit_web_quota' => $limit_web_quota,
                               
'web_php_options' => 'no,fast-cgi,cgi,mod,suphp',
                            
'limit_web_aliasdomain' => '-1',
                            
'limit_web_subdomain' => '-1',
                            
'limit_ftp_user' => $limit_ftp_user,
                            
'limit_shell_user' => $limit_shell_user,
                            
'ssh_chroot' => 'jailkit',
                            
'default_dnsserver' => '1',
                            
'limit_dns_zone' => '-1',
                            
'limit_dns_record' => '-1',
                            
'limit_client' => $limit_client,
                            
'default_dbserver' => '1',
                            
'limit_database' => $limit_database,
                            
'limit_cron' => '-1',
                            
'limit_cron_type' => 'url',
                               
'limit_cron_frequency' => '5',
                            
'limit_traffic_quota' => $limit_traffic_quota);


    
$return_client_id $client->client_update($session_id$client_id$reseller_id$params);
    
    
} catch (
SoapFault $e) {
    die(
'SOAP Error: '.$e->getMessage());

Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.1 released till General 11 22nd April 2011 12:22
ISPconfig setup - DNS, router and general access problems ingvar Installation/Configuration 6 31st July 2010 13:13
Install a Comodo InstantSSL Certificate for ISPconfig Apache, Postfix, Imap & Pop gwa7 Tips/Tricks/Mods 1 30th September 2009 18:08
ISPConfig 3.0.1 released till General 36 29th March 2009 14:30
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 13:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.