Difference between #2 and #3 of
How to upload a file using a model

Revision #3 has been created by Zolter on Dec 25, 2009, 11:29:54 AM with the memo:

russian link
« previous (#2) next (#4) »

Changes

Title unchanged

How to upload a file using a model

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

[...]
<?php echo CHtml::form('','post',array('enctype'=>'multipart/form-data')); ?>
...
<?php echo CHtml::activeFileField($model, 'image'); ?>
...
<?php echo CHtml::endForm(); ?>
```

 
 
### Links
 
 
[Russian Version](http://dbhelp.ru/form-file-upload/page/)
66 4
64 followers
Viewed: 516 504 times
Version: 1.1
Category: Tutorials
Written by: qiang
Last updated by: samdark
Created on: Feb 4, 2009
Last updated: 8 years ago
Update Article

Revisions

View all history