The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Move/copy upload files - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Move/copy upload files (/showthread.php?tid=4146)



Move/copy upload files - Printline - Jul 10th, 2014

Hi' there

First of all, Formtools rock! It is an awesome application.

I have an issue regarding the uploaded files.

I'm currently using formtools where a user enters information including an upload file into an external form and submits it to formtools. Here we automatically examine the data including the upload file. The user gets a notification, that everything is okay and from within formtools he processes the form by hitting a proceed button. The action behind this is, we transfer all the data from the form into another external form.

We do this be using:

PHP Code:
$account_info ft_get_account_info($_SESSION["ft"]["account"]["account_id"]);
$emailadress = ($account_info['email']);
etc... 

for all account information and:

PHP Code:
$submission_info ft_api_get_submission($_GET['form_id'], $_GET['submission_id']);
$submission_id = ($submission_info['submission_id']);
$partname = ($submission_info['partname']);
etc... 

for all the form information.

But i also need the uploaded file from the current form to be copied/transfered to the new external form.

Does formtools have a way of doing this or do I have to come up with some kind of external script..???

Code Examples on how to do the above is more than welcome when/if you answer this question.

regards, Printline