View Single Post
  #1  
Old 13th July 2007, 21:20
bigger_travis bigger_travis is offline
Junior Member
 
Join Date: Oct 2005
Location: us
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding a Web Remoting Framework

HI, i have installed the Remoting Framework plug-in successfuly. i'm able to add clients and webs, however, i wanted to know if you can help me with something.

I am using the following from your example to add new sites: (remoting_example/test.php)

Code:
// Adding a Web
$params = array (         'sid'        => $session_id,
                                        'module'         => 'web',
                                        'function'         => 'web_add',
                                        'params'        => array (         kunde_title => 'Kunde6', // reseller_title or reseller_group
                                web_title => 'test7.de',
                                web_host => 'www',
                                web_domain => 'test7.de',
                                web_ip => '192.168.0.110',
                                web_speicher => '100', // MB
                                web_dns => 0,
                                web_userlimit => 5,
                                web_domainlimit => 2,
                                web_shell => 0,
                                web_cgi => 1,
                                web_standard_cgi => 1,
                                web_php => 1,
                                web_php_safe_mode => 1,
                                web_ssi => 1,
                                web_ftp => 1,
                                web_frontpage => 0,
                                web_mysql => 1,
                                web_mysql_anzahl_dbs => 5,
                                web_ssl => 0,
                                web_anonftp => 0,
                                web_anonftplimit => 0,
                                web_wap => 1,
                                web_individual_error_pages => 1
                                ));

$web_id = $soapclient->call('service',$params);
if($err = $soapclient->getError()) die("Error: ".$err);
echo $web_id;
so, for kunde_title i put the value of the reseller. whenever i create a new site, its created under the reseller without any problems. But i would like to know how i can add a web to a client instead of a resellers?

for example, i have a reseller called domainseller, and in domainseller, i have a customer called domainclient, so i want to add a site called mydomain.com to customer domainclient. i know i can do this in the ispconfig admin panel, but how can i do it with Remoting Framework?



thanks
__________________
Free Wallpapers - Wallpaper Website Server. Trying to get my server
Reply With Quote
Sponsored Links