Jquery File Upload plugin: Dynamically change upload path?

后端 未结 1 1725
刺人心
刺人心 2020-12-17 07:13

I\'m trying to use the blueimp Jquery File Upload plugin for the project I\'m currently working on. It suits my needs perfectly, with one problem: I need to be able to chang

1条回答
  •  时光说笑
    2020-12-17 07:51

    In your form, add a field like this:

    
    

    And in your PHP where the file is uploading, just extract the path with:

    $path = $_POST['path'];
    

    Just put the path where it is specified in the PHP script.

    0 讨论(0)
提交回复
热议问题