Angularjs - File upload with php

后端 未结 2 2090
感情败类
感情败类 2020-12-05 21:46

I have spent days looking for a fairly simple integration of angularjs file upload method that includes a basic php server side script..

I need a simple form one fie

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 22:15

    I was also battling with $files being undefined - I'll take a wild guess that you are writing the html code from php and haven't escaped the $ in $files. That was my problem anyway - should be \$files.

    Dan

提交回复
热议问题