Upload with AJAX, does not go with files older than 2 megas

Asked

Viewed 81 times

1

I have an image UPLOAD code 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 megas, plus it doesn’t work. And this limitation is not PHP (I did several tests), is POST same, anyone knows what can be? I’ve never seen this....

  • Where will you save your IIS server? or hosting? dependent the server has space permission.

  • I’m still testing locally.... with Xampp...

  • I understood, I also use xampp to work php and then host in the air, I found my configuration is 2mb this your, see http://prntscr.com/bls67n and look for php.ini and upload_max_filesize ... flw

  • You managed to solve your problem?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.