javascript - PHPExcel - Upload Excel Files / Get filepath -
hey want upload excel files. use code select files:
<input type="file" id="files" name="files[]" /> <output id="list"></output> <script> function dateiauswahl(evt) { var files = evt.target.files; // filelist object var output = []; (var = 0, f; f = files[i]; i++) { output.push('<li><strong>', f.name, '</strong> (', f.type || 'n/a', ') - ', f.size, ' bytes</li>'); } document.getelementbyid('list') .innerhtml = '<ul>' + output.join('') + '</ul>'; } document.getelementbyid('files') .addeventlistener('change', dateiauswahl, false); </script> (it https://wiki.selfhtml.org/wiki/javascript/file_upload)
how can full file path out of this? need file path keep on going "phpexcel".
Comments
Post a Comment