Difference between #13 and #14 of
How to upload a file using a model

Changes

Title unchanged

How to upload a file using a model

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

File upload

Content changed

[...]
// ... other attributes

public function rules()
{
return array(
array('image', 'file', 'types'=>'jpg, gif, png'
, 'safe' => false),
);
}
}
```
[...]
66 4
64 followers
Viewed: 519 746 times
Version: 1.1
Category: Tutorials
Written by: qiang
Last updated by: samdark
Created on: Feb 4, 2009
Last updated: 9 years ago
Update Article

Revisions

View all history