Upload with AJAX, do not go with files with more than 2 megabytes

1

I have a UPLOAD code of images with AJAX:

$.ajax({url:"php/upload.php", type:"POST", data:new FormData(this), contentType:false,cache:true,processData:false,success: function(resposta){

It only works with images up to 2 megs, more than that it does not work. And this limitation is not PHP (I did several tests), it's POST same, does anyone know what it can be? I've never seen it ....

    
asked by anonymous 27.06.2016 / 16:49

0 answers