cpg_send_upload_notification(); } // That was the last one. Create a redirect box. pageheader($lang_info); msg_box($lang_info, $final_message, $lang_continue, 'index.php', "100%"); pagefooter(); // Exit the script. exit; } } // The user has files that need to be processed and placed in albums. // We must pull that information from the temporary data file // whose ID is in $_POST['unique_ID']. if (isset($_POST['unique_ID'])) { // The unique ID is set, so let us retrieve the record. $cayman_string = retrieve_record($_POST['unique_ID']); // Verify record was retrieved. if (!$cayman_string) { cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__); } } else { // The $_POST['cayman'] path is not present. Die with an error. cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__); } // Now we decode the string. $escrow_array = unserialize(base64_decode($cayman_string)); // Now we need to detect the end file set of $escrow_array. // The returned element will take the form: array('actual_name', 'temporary_name') // First, we test to make sure $escrow_array is an array. if (!is_array($escrow_array)) { // The decoded information is not an array. Die with an error.
// That was the last one. Create a redirect box. pageheader($lang_common['information']); msg_box($lang_common['information'], $final_message, $lang_common['continue'], 'index.php', "100%"); pagefooter(); // Exit the script. exit; } } //end of the for loop } // The user has files that need to be processed and placed in albums. // We must pull that information from the temporary data file // whose ID is in $_POST['unique_ID']. if ($superCage->post->keyExists('unique_ID') && $superCage->post->getRaw('create') == 'manual') { // The unique ID is set, so let us retrieve the record. $cayman_string = retrieve_record($superCage->post->getAlnum('unique_ID')); // Verify record was retrieved. if (!$cayman_string) { cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__); } } else { // The $_POST['cayman'] path is not present. Die with an error. cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__); } // Now we decode the string. $escrow_array = unserialize(base64_decode($cayman_string)); // Now we need to detect the end file set of $escrow_array. // The returned element will take the form: array('actual_name', 'temporary_name') // First, we test to make sure $escrow_array is an array. if (!is_array($escrow_array)) { // The decoded information is not an array. Die with an error.