Wiki

Articles tagged with "file upload"X
Displaying 1-10 of 15 result(s).

Simple Way to Upload and Save File

Created 3 years ago by Misbahul D MunirTutorials0 comments – viewed 20,292 times – ( -3 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

Displaying uploaded file from DB for update with FileInput widget

Created 3 years ago by Kartik VHow-tos3 comments – viewed 37,239 times – ( +39 / -6 ) – version 2.0
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?

How to Reuse File Upload Code via Behavior

Created 3 years ago by Ahamed RifaideenHow-tos0 comments – viewed 6,610 times – ( +1 / -1 ) – version 1.1
hello guys now i am going to show you how to Reuse File Upload Code across multiple projects.

Upload files in Yii2 with MongoDb and GridFs

Created 3 years ago by edoardo849How-tos3 comments – viewed 19,479 times – ( +8 / -1 ) – version 2.0
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).

Multiple files uploader with CMultiFileUpload

Created 4 years ago by InterboyHow-tos2 comments – viewed 267,043 times – ( +8 / -1 ) – version all
Today I will show you how to handle multiple file upload step by step.

Upload Files to Rackspace Cloud Files CDN

Created 4 years ago by StephenMiracleTutorials0 comments – viewed 12,406 times – ( +2 / -1 ) – version 1.1
** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

CKEditor Integration (includes steps for file uploads) - Step by Step

Created 4 years ago by shulmeHow-tos12 comments – viewed 58,783 times – ( +26 / -1 ) – version 1.1
Hey guys, I'm hoping other people will find this helpful. Today I went through the process of adding CKEditor to one of my projects, and then integrating KCFinder as the image uploader. It will be used in a CActiveForm, without the use of any crazy weird widgets. All paths are relative, using Yii functions, so this will work no matter where you install. Here it is:

How to use YiiBooster TbFileUpload widget

Created 4 years ago by Antonio RamirezHow-tos15 comments – viewed 45,491 times – ( +11 / -1 ) – version 1.1
The following wiki is to explain how to make use of the TbFileUpload widget from YiiBooster. I have received a couple of requests and I thought was worth writing a wiki for it.

Syncing sessions between Yii and KCFinder

Created 4 years ago by Thanasis FotisHow-tos8 comments – viewed 9,559 times – ( +2 / -1 ) – version 1.1
Info: As KCFinder's documentation mentions, if your application (Yii in our case) session handling is using the PHP environment configuration - meaning no change in session handling at all, then no change is needed also on KCFinder side to be able to use this session and thus have this simple interface between your Yii webapp and KCFinder. If that's your case then you probably need not read the rest of this article but rather just make sure that before a user attempts to upload or browse your server a session variable is already set for him (or her) with his specific configuration already waiting for KCFinder there. What can this session interface be useful for? For example, for having per-user upload directory. You could have uploadURL variable established in the session variable to contain the user's id. When an upload or browse use case will occur, the client side will trigger the KCFinder completely decoupled from the Yii application. Yet, since you've already synced your user-specific-configuration with KCFinder via the session, KCFinder will pick it up and use it.
tags: File upload

Additional form data with XUpload

Created 5 years ago by AsgarothHow-tos7 comments – viewed 37,329 times – ( +9 / -1 ) – version 1.1
In this article you'll learn how to send additional form data when uploading files using XUpload widget