摘要: 1、写代码之前需要开启php.ini中文件配置。2、获取文件使用$('#file')[0].files[0],并不是$('#file').val() ;否则就会出现$_files[]为空的情况,3、ajax实现代码:$.ajax({ type:"POST", url:"upload.php"... 阅读全文
posted @ 2015-08-05 09:35 Mickyan 阅读(154) 评论(0) 推荐(0)