Internet Explorer error with file upload

We have a website where clients can upload files to our server. This is working fine in Chrome & Firefox, but Internet Explorer seems to have a conflict with the javascript we are using. The problem area looks like this:

<input type="file" name="file" id="file" onchange="uploadFile('file',0,'')" />

And function uploadFile() is not running in IE. The function is below, and the problem may have something to do with webkitslice being depreciated.

We need to get this so it works properly in all major browsers. Let me know if you have any questions.

function uploadFile(id,block,folder){

var files=[url removed, login to view](id).files;

var blob = files[0];

var BYTES_PER_CHUNK = 1024 * 1024; // 1MB chunk sizes.

var SIZE = [url removed, login to view];

var start = block*BYTES_PER_CHUNK;

var end = (block+1)*BYTES_PER_CHUNK;


if(start < SIZE) {

// Note: [url removed, login to view] has changed semantics and been prefixed. See [url removed, login to view]

if ('mozSlice' in blob) {

var chunk = [url removed, login to view](start, end);

} else {

// webkitSlice depreciated, changed to slice elliott

// var chunk = [url removed, login to view](start, end);

var chunk = [url removed, login to view](start, end);


upload(chunk,[url removed, login to view],end-start,[url removed, login to view],id,block,folder);

}else return false;

return true;


Let me know if there are any questions about the project.

Beceriler: Hata Ayıklama, HTML5, Javascript, jQuery / Prototype, PHP

Daha fazlasını gör: upload file javascript error, start upload folder internet explorer, javascript file upload, javascript document upload error, javascript upload file internet explorer, internet explorer javascript file upload, javascript internet explorer file upload, website with document upload, semantics, problem with name, explorer, return file, running error, file upload works browsers, php file explorer, files internet, block chrome, internet problem, http file upload, elliottbenzle2, file explorer project, php file upload project, internet explorer firefox, explorer chrome, file upload using javascript php

İşveren Hakkında:
( 366 değerlendirme ) Columbus, United States

Proje NO: #4409875



Can be done in an hour or two, let's get started

%selectedBids___i_period_sub_7% gün içinde 60%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(18 Değerlendirme)

11 freelancers are bidding on average $157 for this job


Hello, can be done, pls. contact me for details.

in %bids___i_period_sub_35% gün içinde150%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(12 Değerlendirme)

Hello, sir. I'm interested with your project. I'll do it for you. Regards.

in %bids___i_period_sub_35% gün içinde412%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(19 Değerlendirme)

Ready to fix it. Thanks

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(15 Değerlendirme)

the html5 FileAPI (and especially Blob) is not supported by IE < v10, so you need a workaround for IE9 and former.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(5 Değerlendirme)

Greetings, I am very interested in your file upload project. I can provide you with a PHP based file upload solution that is guaranteed to work with the mentioned browsers. I have many years of web development exp Daha Fazla

in %bids___i_period_sub_35% gün içinde75%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(24 Değerlendirme)

"This is not genric message we have properly read your project and intrested for that " we are a Team of professionals having good experience of various projects. I will really appreciate if you can share your query Daha Fazla

in %bids___i_period_sub_35% gün içinde190%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(9 Değerlendirme)

What is the URL please? Yes, I can handle this! I'm Belgian (expat) and quite fluent in English

in %bids___i_period_sub_35% gün içinde140%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

please check pm. Thanks.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1 Yorum)

Dear Hiring manager, I am an Expert on html5,css3,php,mysql,joomla,wordpress,Prestashop javascript,drupal,magento,c#,asp.net and oracle 11g apex. I have 3 years experience. Daha Fazla

in %bids___i_period_sub_35% gün içinde220%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)

on2itonline: Hi, KIWI Team here at on2itonline would love to work for you on this project, we do "full service" websites on a clear and fixed budget. We have lots of offer that others don't, like our lifetime FRE Daha Fazla

in %bids___i_period_sub_35% gün içinde309%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Sr, Software Developer with 3.4 yrs experience.

in %bids___i_period_sub_35% gün içinde55%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)