Thread: User creating
View Single Post
  #3  
Old 23rd July 2010, 22:01
shoevring shoevring is offline
Member
 
Join Date: Feb 2010
Posts: 71
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
Just use the client_add function from the remote API. Do not add anything manually in sys_user or sys_group as this is all handled by the client_add.

function client_add($session_id, $reseller_id, $params);

$params is an array. Like in all functions of the API, the keys of this array are identical to the fields of the corresponding database table. In this case, the client table. The sys_* database fields are for ispconfigs internal use and do not go into $params.

You find all available functions in the remoting.inc.php file.
Hmm, I dont think i can do it without help..

Can i setup the whole client with one script? Like, username, firstname, default webserver, limits all things?

-------------------------------------------------------------------

If i have these variables:

$username
$password
$firstname
$contactperson
$street
$streetnumber
$zipcode
$city
$startmodule
$modules
$language
$email
$telephone
$default_mailserver
$default_webserver
$default_dbserver
--- ALLE LIMITS ---
-------------------------------------------
With the information from the top on the line, how do i create a user?

I think there is more than one user in here there want this help too..

I hope you can help me.. thanks.
Reply With Quote