Photo upload with parameters to a PHP page

后端 未结 1 417
既然无缘
既然无缘 2020-12-19 16:37

I need to upload file the server via .php file, and i\'ve got this information:

Make a call to the: /uploadFiles.php with these parameters:

<
相关标签:
1条回答
  • 2020-12-19 17:23

    I figured it out. I was sending incorrect FilyType parameter. I was sending image/jpg, image/jpeg, image/png, but when simulating HTML upload form we have to send "image/pjpeg".

    I explained it, in details, here (i used RestSharp): http://nediml.wordpress.com/2012/05/10/uploading-files-to-remote-server-with-multiple-parameters/#more-234

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