【发布时间】:2012-01-12 13:22:30
【问题描述】:
我创建了一个上传文件,它不会保存在数据库中。我创建了控制器和视图,就像 codeigniter 教程说的那样。
我在配置中加入了 allowed_types。
$config['allowed_types'] = 'gif|jpg|png|jpeg';
它继续向我展示:
The filetype you are attempting to upload is not allowed.
我该怎么办?
【问题讨论】:
标签: php codeigniter