我現在用的是xupload擴展,它是基於blueimp jQuery的fileuploader,雖然我可以成功上傳到文件夾中,我無法將路徑和其他信息添加到數據庫中。以下是上傳操作和模型的順序。請幫忙。謝謝。 public function actionUpload() {
//Here we define the paths where the files will be stored temp
問題1:表單提交不起作用。 Q2:如何限制上傳文件(例如,1 - 5分檔只) 狀態:創建具有AJAX上傳表單xupload 我的模型(fadepreciation.php) public function afterSave() {
$this->addImages();
parent::afterSave();
}
public function a
I want to use upload multiple with xupload extension,
but didn't work my code?
這個配置 的config.php '別名'=>陣列(//如果你使用你的作曲家路徑應是 'xupload'=> 'ext.vendor.Asgaroth.xupload', //如果手動安裝它 'xupload'=> 'ext.xuplo