upload_form_processing_sanitisation($_POST); $error = self::$processing->upload_form_processing_validation($form); if (empty($error)) { $feed_file_value = TRUE; echo self::$files->update_record($form); } else { echo self::$check->failure_message_facade($error); } // end if error } // end if isset($_POST['submitInd']) $max_up = ah_max_upload(); $feed_file_value = FALSE; // CHANGE THIS - only need cron data and $form_data = $this->db_select_all($_GET['unique_name']); echo '
Max upload size for this server is '.($max_up / 1048576). 'MBs
'; echo 'File can be found here: '.''.AH_FEEDS_DIR.$item->fileName. '
'; echo ''; } else { echo 'You have not uploaded a flle for '.$_GET['unique_name']. ' yet!
'; } $feed_file = array( 'input' => 'file', // input type 'name' => 'feedFile', // name attribute 'desc' => 'Add file here', // for use in input label 'maxlength' => FALSE, // max attribute 'value' => $feed_file_value, // value attribute 'select' => $_GET['unique_name'] // array only for the select input ); $form = array( 'method' => 'post', 'action' => '#wpbody', 'enctype' => 'multipart/form-data', 'description' => '