Wiki articles in category How-tos tagged with "File upload"

Showing 1-2 of 2 items.

Displaying uploaded file from DB for update with FileInput widget

Created 6 years ago by Kartik V, updated 6 years ago by Kartik V.

This is for folks who are using \kartik\widgets\FileInput to upload files from your client. How do you display an image for update after you have uploaded it to the server using the widget?

2 3
42 followers
Viewed: 50 106 times
Version: 2.0
Category: How-tos

Upload files in Yii2 with MongoDb and GridFs

Created 6 years ago by edoardo849, updated 5 months ago by pceuropa.

Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

6 0
6 followers
Viewed: 25 424 times
Version: 2.0
Category: How-tos