Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 28th March 2011, 22:55
xaver xaver is offline
Member
 
Join Date: May 2009
Posts: 77
Thanks: 10
Thanked 25 Times in 14 Posts
Default

Hello,

till told me you need for client_group_id the groupid form sys_group.
I dont wanna use MySQL in a API... i created a new functionfor this in remote.inc.php
PHP Code:
    public function client_id_get_SysGroupID($session_id$client_id){
        global 
$app;
        if(!
$this->checkPerm($session_id'sites_web_domain_get')) {
        
$this->server->fault('permission_denied''You do not have the permissions to access this function.');
        return 
false;
        }
        
$sysGroupID $app->db->queryOneRecord("SELECT groupid FROM sys_group WHERE client_id = '$client_id'");
        return 
$sysGroupID["groupid"];
    } 
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
How do i uninstall ISPConfig 3 RC1 altaibskt Installation/Configuration 5 11th August 2009 09:41
Backup sites with ISPConfig 3.0.0.8 RC1 ARray General 1 8th February 2009 17:42
Virtual email users in ISPConfig 3 RC1 Fr0sty Installation/Configuration 3 4th February 2009 20:55
ISPConfig 3 RC1 Incoming eMail AceFrahm Developers' Forum 15 4th February 2009 04:14
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 19:15


All times are GMT +2. The time now is 22:51.


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