Answer the question
In order to leave comments, you need to log in
$_FILES and ajax?
How to pass $_FILES array to PHP script using ajax? To, in fact, accept it as a script and upload the file to the server.
Answer the question
In order to leave comments, you need to log in
Found a great solution www.profilepicture.co.uk/tutorials/ajax-file-upload-xmlhttprequest-level-2/
Thanks shushu. Your version also works.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question