function create_contacts($user_name, $sessionid, $firstname, $lastname, $phone, $mobile, $email, $street, $city, $state, $country, $zipcode) { global $log; $log->DEBUG("Entering into create_contacts"); $birthdate = ""; if (!validateSession($user_name, $sessionid)) { return null; } return create_contact1($user_name, $firstname, $lastname, $email, "", "", "", $mobile, "", $street, $city, $state, $zipcode, $country, $city, $street, $state, $zipcode, $country, $phone, "", "", "", "", $birthdate, "", ""); }
function create_contact($user_name, $first_name, $last_name, $email_address, $account_name, $salutation, $title, $phone_mobile, $reports_to, $primary_address_street, $primary_address_city, $primary_address_state, $primary_address_postalcode, $primary_address_country, $alt_address_city, $alt_address_street, $alt_address_state, $alt_address_postalcode, $alt_address_country, $office_phone = "", $home_phone = "", $fax = "", $department = "", $description = "") { if ($birthdate == "4501-01-01") { $birthdate = "0000-00-00"; } return create_contact1($user_name, $first_name, $last_name, $email_address, $account_name, $salutation, $title, $phone_mobile, $reports_to, $primary_address_street, $primary_address_city, $primary_address_state, $primary_address_postalcode, $primary_address_country, $alt_address_city, $alt_address_street, $alt_address_state, $alt_address_postalcode, $alt_address_country, $office_phone, $home_phone, "", $fax, $department, "", "", "", $description); }