Hi
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…
Hi
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(
'htmlOptions'=>array('enctype'=>'multipart/form-data'),
'enableAjaxValidation'=>false,
)); ?>
enctype is important!