The Wayback Machine - https://web.archive.org/web/20201205092201/https://github.com/diego95root/File-manager-php
Skip to content
editable
Go to file
Code
This branch is 20 commits ahead, 20 commits behind jcampbell1:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

simple-file-manager

A Simple PHP file manager. The code is a single php file.

Just copy index.php to a folder on your webserver.

Why it is good

  • Single file, there are no images, or css folders.
  • Ajax based so it is fast, but doesn't break the back button
  • Allows drag and drop file uploads if the folder is writable by the webserver (chmod 777 your/folder)
  • Suits my aesthetics. More like Dropbox, and less like Windows Explorer
  • Works with Unicode file names
  • The interface is usable from an iPad
  • XSRF protection, and an optional password.
  • Allows to write to files, even possible to modify php files read from server

Do not allow uploads on the public web

If you allow uploads on the public web, it is only a matter of time before your server is hosting and serving very illegal content. Any of the following options will prevent this:

  • Don't make the folder writable by the webserver chmod 775
  • Set $allow_upload = false
  • Use a password $PASSWORD = 'some password'
  • Use a .htaccess file with Apache, or auth_basic for nginx
  • Only use this on a private network

HT: @beardog108

Forks

  • Edit feature. An extension of the initial project which lets you edit files and save them from the main php file. Works asynchronously with ajax requests. Link: @diego95root

Screenshot

Screenshot

About

A Simple PHP file manager. The code is a single php file. Control your website from here!

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.