阅读背景:

使用PHP / CURL将文件发布到ASP.NET MVC 2控制器

来源:互联网 

sorry if this might be a cheesy question, but unfortunately I cannot change the project setup. I have a form on a php page, which is supposed to post some text fields and a file input to a MVC Controller Action. The posting part works, and I successfully receive the text data in my ViewModel. However, I have no idea how tto receive the file (image, will be either jpg or png). The ID and NAME of the input type file is "UserIcon".sorry if this might be a cheesy question, but u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: