Image upload via FormData API and AJAX is not working ($_FILES always empty)
Ok, after days and hours got it; my mistake was that I tried to access the uploaded image with the value of its name attribute, using: $_FILES[‘imageupload’] Apparently, when you upload a file with the formData API, the key used to access your file is not the value of the name attribute of your input … Read more