webuploader在ie7下不能使用h5模式上传图片,只能使用flash模式。
但是出现了几个问题:(1)必须正确的引入.swf文件,才能使webuploader正常运行
(2)正常传输模式下,flash模式使用的md5不能上传太大的文件,(好像只能上传50k左右),所以要改成二进制流
的模式上传(3)二进制上传的使用file_get_contents(‘php://input’)获取上传内容(自己百度)
代码:html
<div class="descriptPic" style="color:red;margin:0 -100px 4px;"> <label id="contactpic" style="width:100px;color:#727272;">问题截图:</label> <!-- <input type="file" name="descriptPic[]" value="选择图片"/> --> <div id="uploader" class="uploader" style="width: 400px;float:left;margin-bottom: 15px;"> <div class="queueList"> <div class="webuploader-container" id="filePicker" style=" width: 150px;"> <div style="position: absolute;top: 0;left: 0;width: 150px;height: 45px;overflow: hidden;bottom: auto;right: auto;" id="rt_rt_1aec5bmr5qg9m5o1eat1pahqe1">