$arFile = array();
foreach ($_FILES["file"]["tmp_name"] as $key => $value ) {
$arFile['name'] = $_FILES['file']['name'][$key];
$arFile['size'] = $_FILES['file']['size'][$key];
$arFile['tmp_name'] = $_FILES['file']['tmp_name'][$key];
$arFile['type'] = $_FILES['file']['type'][$key];
}
$arFile['del'] = "Y";
$arFile['old_file'] = "";
$arFile["MODULE_ID"] = "";
$fields = Array(
"NAME" => "Сергей",
"LAST_NAME" => "Иваqqов",
"PERSONAL_PHOTO" => $arFile,
);
$user = new CUser;
$res = $user->Update(1, $fields);
А не подскажите название программы, которую вы используете ?