bootstrap-fileinput icon indicating copy to clipboard operation
bootstrap-fileinput copied to clipboard

not working at all

Open Jannik44 opened this issue 2 years ago • 2 comments

Hello, after reading the documentation i dont know how to make the server side php, this wasnt talked about, the frontend doesnt seem to work too, it allows multiple fileinputs, (i set this to false) and the spinner keeps spinning no file is arriving at the server i followed the documentary step by step but after an hour of reading i couldnt complete the php my php code is as follows:

thats it i dont know what to do to get it working, also the example script contains errors

file

my html isnt working as expected, what am i doing wrong?

`

![fil](https://user-images.githubusercontent.com/76906033/178515811-3abf5211-7b5d-46b4-b485-4292df358fdd.png) `

Jannik44 avatar Jul 12 '22 14:07 Jannik44

try like this: fileinput.js => find: getMimeType: function (signature, contents, type) => add at the beginning: if (signature === undefined) { return contents && !contents.match( /[^\u0000-\u007f]/) ? 'application/text-plain' : type; }

hide9527 avatar Jul 21 '22 08:07 hide9527

#1804

Krakozaber avatar Aug 02 '22 12:08 Krakozaber

Load the plugins buffer.min.js and filetype.min.js as described in docs with release v5.5.0 & v5.5.1 to get advanced file type parsing.

kartik-v avatar Aug 17 '22 07:08 kartik-v