start(); // list($url, $db, $username, $password) = array($info['host'], $info['database'], $info['user'], $info['password']); $common = ripcord::client("$url/xmlrpc/2/common"); $common->version(); $uid = $common->authenticate($db, $username, $password, array()); $assoc_attr = [ 1 => 26, 3 => 28, 4 => 29, 5 => 30, 6 => 31, 10 => 27, 28 => 26, 27 => 28, 26 => 29, 25 => 30, 24 => 31, 40 => 26, 35 => 27, 44 => 29, 46 => 31, 43 => 28 ];