S
S
Statium2018-08-14 21:06:44
JavaScript
Statium, 2018-08-14 21:06:44

How to upload a file from a computer to a folder without php?

I am creating a chrome extension. You need to upload a photo to the right folder, how to do it if there is no php support in the extensions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aleksey Solovyev, 2018-08-14
@alsolovyev

And at what here PHP in general???
Here is the function in chrome extentions that is responsible for downloading the file:

chrome.downloads.download({url:url,filename:filename,saveAs: false},function() {
    console.log(chrome.runtime.lastError);
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question