http://blog.teamtreehouse.com/uploading-files-ajax https://abandon.ie/notebook/simple-file-uploads-using-jquery-ajax
А подробнее можно? --- Добавлено --- Пытаюсь сделать ajax-ом: Спойлер: index HTML: <script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript"> function send(result_id,form_id,url) { jQuery.ajax({ url: "loading.php", type: "POST", dataType: "html", data: jQuery("#load").serialize(), success: function(response) { document.getElementById('load_result').innerHTML = response; }, error: function(response) { document.getElementById('load_result').innerHTML = "Error"; } }); } </script> <form id='load' method = "post" enctype = 'multipart/form-data'> <input type = "file" name = "somename" /> <a onclick="send()">Send</a> </form> <div id="load_result"></div> Спойлер: loading PHP: <?php $uploadfile = "images/".$_FILES['somename']['name']; move_uploaded_file($_FILES['somename']['tmp_name'], $uploadfile); print_r($_FILES); ?>