How to upload file in yii framework?
Upload file in yii framework is easy than the others. Simple to use this, you can use the functions of saveAs in yii framework. Ok let’s suppose you have a table like bellow: CREATE TABLE document ( id int(11) NOT NULL AUTO_INCREMENT, doc_name varchar(255) DEFAULT NULL, doc_file varchar(255) NOT NULL, doc_type varchar(50) DEFAULT NULL, doc_size … [Read more…]