摘要:
今天遇到在用CI框架上传csv文件时报错问题:Thefiletypeyouareattemptingtouploadisnotallowed.是类型不允许,想到CI框架的config/mimes.php的配置,发现已经有csv的mimes配置,而且在win7下是可以上传的于是百度之,半天没结果,果然换google,找到如下的记录:The answer to my problem was with MIME types—I’ll leave this comment up here in case it is related. My CSV was returning with a MIME t 阅读全文