Adding domains by clients [remoting]

Discussion in 'Developers' Forum' started by miooodek, Nov 26, 2010.

  1. miooodek

    miooodek New Member

    Hi there,

    I'm using svn repositories of remoting api, and creating my own script for clients,
    my question is how I can get an option to add domains by clients

    for example client writes sth like this: myhomepage
    and system is generating dns records with result www.myhomepage.isp3srv.com
    and everything what ispconf is normaly creating while new domain is added

    thanks for reply
     
    Last edited: Nov 27, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Each module has its own functions to add domains. e.g. the web module, the mail module and the dns module. These functions can be used trough the remoting api to add domains.
     
  3. miooodek

    miooodek New Member

    Could you give me an example how to do sth like this in web and dns module?

    Thanks in advance
     
    Last edited: Nov 29, 2010
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please take a look in the remote_client/examples folder. There are examples for many functions. As all functions work the same, just pick up one of the examples files and replace the function that you want to use with the function and parameters that you find in the remoting.inc.php
     

Share This Page