A
A
Alex Kheben2011-08-07 22:01:45
PHP
Alex Kheben, 2011-08-07 22:01:45

$_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

5 answer(s)
G
German Gavrilov, 2011-08-07
@Lorigin

through the iframe ... it seems to be no other way

V
Vitali Borovik, 2011-08-07
@WAYS

Look here, maybe valums.com/ajax-upload/

K
KoXGen, 2011-08-07
@KoXGen

No direct way... Only Flash, IFrame...

A
Alex Kheben, 2011-08-09
@zBit

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 question

Ask a Question

731 491 924 answers to any question