$CURRENT_VERSION, 'name' => $_POST['name'], 'machineID' => $_POST['machineid'], 'commands' => explode(",",$_POST[commands]) ); echo json_encode($output); ?>