Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Uploadify: how to upload to an external server

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 523 Views
  • skorp
    Avatar
    Community Member
    6 Posts

    Uploadify: how to upload to an external server Link to this post

    Hello,
    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?

    523 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.