upload file problem


I’ve been searching through forums (“file upload”, “upload”, “blob”) but haven’t found the solution.

i need to upload a file and save it into a folder…

Take a look at this two wiki:

save in file

save in blob

Also remember that the form should be:

<?php $form=$this->beginWidget('CActiveForm', array(



)); ?>

enctype is important!