I\'m using the very good jquery plugin blueimp / jQuery-File-Upload
$(\'#fileupload\').fileupload({
autoUpload: true
, filesContainer: \'#attachments_prese
To get the list of uploaded file names from the server, requires server-side code:
UploadHandler.php is used to upload files to a directory/s on your server.
If you've downloaded the plug-in archive and extracted it to your server, the files will be stored in php/files by default. (Ensure that the php/files directory has server write permissions.) see: https://github.com/blueimp/jQuery-File-Upload/wiki/Setup
UploadHandler.php is just that, an upload handler. It does not provide access to server files without a connection to the server.
JavaScript cannot access files on the server, so you'll need a php script to do so. (Although JavaScript could possibly keep track of everything uploaded, renamed, and deleted.)
You can modify UploadHandler.php to connect to your database, and write the file paths (and any other data) to a files table during upload. Then you can access your files via standard SQL queries:
see: https://github.com/blueimp/jQuery-File-Upload/wiki/Working-with-databases