View Single Post
  #9  
Old 13th March 2012, 23:47
desanidesigns desanidesigns is offline
Junior Member
 
Join Date: Mar 2012
Posts: 10
Thanks: 2
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till View Post
The functions to add / edit / delete server IP adresses have been added in the svn stable branch. I've added the chnaged files.

You can get the SVN stable release with:

svn export svn://svn.ispconfig.org/ispconfig3/branches/ispconfig-3.0.4

the required files are:

interface/lib/classes/remoting.inc.php
interface/web/admin/lib/remote.conf.php

Copy these files into your ispconfig installation, then enable the new functions in the remote user. The function names are:

server_ip_get, server_ip_update and server_ip_delete
In the SVN I wasn't able to find any examples or API docs on these functions. I'm guessing the usage is:
Code:
$params = array("server_id" => 1);
server_ip_get($session_id, $params)

Returned is a multidimensional array containing the information from the server_ip table.
Is this correct?
Reply With Quote