CMultiFileupload Tutorials

Yii CMultiFileupload

PropertiesCMultifile In ViewCMultifile In controllerModel ValidationCMultiFileUpload widget functionMaximum File Size Validation On Before UploadDONT FORGET multipart/form-data <?php $form=$this->beginWidget('CActiveForm', array( 'id'=>'files-form', 'htmlOptions'=>array('enctype' => 'multipart/form-data'), ));?> PropertiesCMultiFileUpload generates a file input that can allow uploading multiple files at a time. It have the following properties.accept - Allowed file types duplicate - String message file - File name htmlOptions - additional html options id - CMultiFileUpload widget id max - max number of […]... Read More »