php - JQuery upload fails only on big files? -


i want upload mp3 files jquery. works fine on normal tracks. if want upload mixes, big files > 100mb, upload fails.

this function uploading:

$(document).ready(function() {                                             $('#upfile').on('change', function() {        $('#btnsubmit').fadein();     });       $('#uploadform').submit(function(e) {             if($('#upfile').val()) {              e.preventdefault();             $('#btnsubmit').fadeout();             $('#progress-div').fadein();              $(this).ajaxsubmit({                   beforesubmit: function() {                   $("#progress-bar").width('0%');                 },                    uploadprogress: function (event, position, total, percentcomplete) {                         $("#progress-bar").width(percentcomplete + '%');                     $("#progress-bar").html('<div id="progress-status">' + percentcomplete +' %</div>')                 },                   success: function(responsetext, statustext, xhr, $form) {                      $('#progress-div').fadeout(function() {                         //$("#progress-bar").width('0%');                         //$("#progress-bar").html('<div id="progress-status">0 %</div>');                         var obj = json.parse(responsetext);                                                                                                   if(obj.success == '1') {                                                                          window.location.replace("./player");                         } else {                                                                          alert(obj.error);                         }                                                            });                  },                                                 resetform: true              });              return false;          }     }); });  

what cause behaviour?

after have made sure have enough storage space upload, check upload_max_filesize in php.ini file. on command line, type php -i | grep upload_max_filesize or create secret.php file containing only

<php phpinfo(); 

or

<php echo ini_get('upload_max_filesize'); 

and upload_max_filesize


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -