4, "s_location" => 3, "s_mediaType" => 5); if( $_SERVER[REQUEST_METHOD] == "POST" ) { $slotData = split(":", $_POST['slotSelection']); $cleaningsStrings = split(":", $_POST['cleanCountList']); // convert to array of ints $cleaningsData = array(); $i = 0; foreach($cleaningsStrings as $cleanings) { $cleaningsData[$i] = (int)$cleanings; $i++; } $operationInProgress = true; $status = new ReturnStatus(); $command_status = import_cleaning_media($user,$slotData,$cleaningsData); print $status->out(); return; } else { $cleaning_configured = get_num_cleaning_slots($user); error_log("The Number of Cleaning Slots configured is: ". $cleaning_configured); $numMboxSlots = get_num_mailbox_slots($user); error_log("The Number of IE slots found is: ". $numMboxSlots); } ?> Import Cleaning Media