1) Modify uploader.php as shown below. // ///////////////// // disply clean page // ///////////////// if (!isset($form_submitted) || ($form_submitted == "")) { //--------------BEGIN EDIT CHANGE ---------------------- $edit_upload = $_POST['edit_upload']; if (isset($edit_upload) && !empty($edit_upload)) { //Restore values from earlier saved session for EDIT $title = $_SESSION['UPLOAD_title']; $description = $_SESSION['UPLOAD_description']; $tags = $_SESSION['UPLOAD_tags']; $channel = $_SESSION['UPLOAD_channel']; $location_recorded = $_SESSION['UPLOAD_location_recorded']; $allow_comments = $_SESSION['UPLOAD_allow_comments']; $public_private = $_SESSION['UPLOAD_public_private']; $allow_embedding = $_SESSION['UPLOAD_allow_embedding']; } //--------------END EDIT CHANGE ---------------------- $blk_id = 0;//html table - error block $template = "templates/main_1.htm"; $inner_template1 = "templates/inner_upload_video_form.htm";//middle of page $TBS = new clsTinyButStrong; $TBS->NoErr = true;// no more error message displayed. $TBS->LoadTemplate("$template"); $TBS->Render = TBS_OUTPUT; $TBS->Show(); @mysql_close(); die(); } // ///////////////////////////////////////////////////////// // if all has gone well, register user and load welcome page // close sql connection here // ///////////////////////////////////////////////////////// if ($procede == true && $form_submitted == "yes") { //--------------BEGIN EDIT CHANGE ---------------------- //Save for later restoration for EDIT $_SESSION['UPLOAD_title'] = $title; $_SESSION['UPLOAD_description'] =$description; $_SESSION['UPLOAD_tags'] = $tags; $_SESSION['UPLOAD_channel'] = $channel; $_SESSION['UPLOAD_location_recorded'] = $location_recorded; $_SESSION['UPLOAD_allow_comments'] = $allow_comments; $_SESSION['UPLOAD_public_private'] = $public_private; $_SESSION['UPLOAD_allow_embedding'] = $allow_embedding; //--------------END EDIT CHANGE ---------------------- //================================================================START OF UPLOAD=================================================================== $THIS_VERSION = "2.0"; 2)Make the following changes in templates/inner_upload_video.htm