View Single Post
  #50  
Old 17th March 2011, 04:28
yudohartono yudohartono is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default can anyone help me

i use this script to add user
PHP Code:
// Add a User (ftp,email)
$params = array (         'sid'        => $session_id,
                                        
'module'         => 'web',
                                        
'function'         => 'user_add',
                                        
'params'        => array ( 'web_title' => 'testtda.com',  // web_title or web_id
                                        
'user_username' => 'web21_uwe',
                                        
'user_name' => 'Uwe Meier',
                                        
'user_email' => 'uwe',
                                        
'user_passwort' => 'rizki',
                                        
'user_speicher' => 10,
                                        
'user_mailquota' => 10,
                            
'user_shell'    => 1,
                            
'user_cron'    => 1,
                                        
'user_admin' => //ftp access
                                        
));

$user_id $soap_client->call('service',$params);
if(
$err $soap_client->getError()) die("Error: ".$err);
print_r($user_id); 
but i can't use password in ftp login
Reply With Quote