D
D
Danil Safonov2015-12-03 12:18:53
JavaScript
Danil Safonov, 2015-12-03 12:18:53

How to automatically upload an image to the server (input type="file")?

I am writing an android application. Bot clicker. There was a problem loading images.
The code:

<input type="file" value="" name="image[]" id="image_upload" accept="image/*" multiple="multiple" data-uploaded-images="0" class="control-self control-self-file ">

I don't know... Maybe this problem can be solved with javascript... On the forums they write that js will not help, because on browsers there is a type of protection ... Then I write my own browser. True on the webkit (WebView) engine. So, I don't know how to upload an image, automatically. I ask for the help of experts.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2015-12-03
@Nc_Soft

You will not be able to take a file from the file system and upload it to the server automatically. Otherwise it would be possible to steal files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question