diff --git a/theme/nchyn_grey.html b/theme/nchyn_grey.html index f07b8f5..85164b4 100644 --- a/theme/nchyn_grey.html +++ b/theme/nchyn_grey.html @@ -1032,10 +1032,10 @@ return false; uploadbuttonshow(); return; } + var filemd5 = ''; var xhr1 = new XMLHttpRequest(); - xhr1.open("GET", '?action=upbigfile&upbigfilename='+ encodeURIComponent((file.webkitRelativePath||file.name)) +'&filesize='+ file.size +'&lastModified='+ file.lastModified); + xhr1.open("POST", '?action=upbigfile'); xhr1.setRequestHeader('x-requested-with','XMLHttpRequest'); - xhr1.send(null); xhr1.onload = function(e){ td2.innerHTML=''+xhr1.responseText+''; if (xhr1.status==200) { @@ -1054,6 +1054,7 @@ return false; getuplink(i); } } + xhr1.send('upbigfilename='+ encodeURIComponent((file.webkitRelativePath||file.name)) +'&filesize='+ file.size +'&filelastModified='+ file.lastModified +'&filemd5='+ filemd5); } } function size_format(num) {