AjaxFileUpload Plugin does not retrieve $_POST data

前端 未结 1 1893
情书的邮戳
情书的邮戳 2021-01-27 09:51

This is almost identical problem which I faced a few days ago. I fixed it then, but now it\'s not working any more. Well, some of it works.

I\'m using AjaxFileUpload Plu

相关标签:
1条回答
  • 2021-01-27 10:27

    But why am I able to get data from $_FILES and not from $_POST?

    Because you are not submitting the form, only the file input element.

    It seems to be the plugin's behaviour by design:

    In this hacked version, it submits the specified file type of input element only rather than an entire form

    The jQuery form plugin can do both, maybe that helps.

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