当前位置: 动力学知识库 > 问答 > 编程问答 >

yii2 - Kartik file input Post as file name, not as file object

问题描述:

I have using Yii2 file input

This is my code

echo FileInput::widget([

'name' => 'attachment_3',

]);

So server only get File name, not file object for upload file

i don't sure what error, so i folow tip http://webtips.krajee.com/advanced-upload-using-yii2-fileinput-widget/ so not work

分享给朋友:
您可能感兴趣的文章:
随机阅读: