Yii , saving an image from $_FILES , but without using models
问题 Is this possible ? This is with a model CUploadedFile::getInstance($model,'newsimage'); $model->image->saveAs("image\path") but I don't want to create a model just so i can save my image. What I actualy need this for is ... well I am trying to make the "Upload image" function of CKEditor to work, but I need a script for the image saving. When I click the "Upload image" button i just call an action and from there I have access to the picture I have selected, using $_FILES , but I can't seem to