D
D
Dmitry Savegin2015-06-30 13:29:42
PHP
Dmitry Savegin, 2015-06-30 13:29:42

How to implement a file upload on the site via Drag'n'Drop?

261cb39fa58542c0bbc65b2ad6e370cc.pngJust drag and drop from the working window to the browser window and the file is loaded by itself, how to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Arutyunov, 2015-06-30
@Fok

Attach a Javascript handler to the page, which will send the file to the server on the drag'n'drop event.
Here, in the direction of js, you need to dig, not PHP.

O
Optimus, 2015-06-30
Pyan @marrk2

https://tech.yandex.ru/disk/rest/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question