10990 Posts in 2727 Topics by 1818 members
|Go to End|
20 January 2012 at 11:42pm
I'm serching a way to upload a File (from Frontend and Backend) to another Server.
i tried this
$resume= new FileUploadField('Form_addForm_File', ' hochladen', array (
'buttonText' => 'hochladen',
'script' => '/gogo.php',
'upload_on_submit' => true,
'auto' => false
the first problem is, my php file (gogo.php) which uploads the file with curl to another Server should return the response.. Response contains the saved documentID i want to save it in a hidden field, and then after Form is validated save it to my table.
The second problem is i want to run gogo.php after the form validation is done. now its running before the form is validated.
how can i do it best? anyone an idea?
|Go to Top|