Full description of the file
Simple file management script with a php file
Today, in this post, we have prepared a simple file management script with a php file for you, dear users of the magic file website, ready for download.
Sample images at script time
Just copy index.php to a folder on your web server.
The main features of this script:
- Only file, no image or css folder.
- Ajax based so it's fast, but doesn't break the back button
- If the folder is writable by the web server, drag and drop the upload file (chmod 777 your/folder)
- It fits my aesthetic more like Dropbox and less like Windows Explorer
- Works with Unicode filenames
- The interface can be used from the iPad
- XSRF protection and an optional password.
Teaching how to work
Do not make the folder writable by chmod 775 web server
Set $allow_upload = false
Use password $PASSWORD = 'some password'
Use an htaccess file with Apache or auth_basic for nginx
Only use this on a private network
Dear user, you are offered a download