PHP File Manager

While browsing through Sourceforge.net (something all of us should do now and then), I ran across an interesting PHP tool.

It is called “Simple File Manager (SFM).”

The author describes SFM as ” a web based file management utility. Target user: Those that won’t, can’t or SHOULD NOT use ftp. Upload, rename, delete, folder creation, image & text viewer and mime type downloads.”

This would probably be ideal for corporate sites where you want to give department heads the ability to upload files or update reports, but don’t want them messing with your other files. Or maybe it would be nice for a group blog or family website.

You can download the open-source code here (http://sourceforge.net/projects/onedotoh/), and view a working demo here (http://onedotoh.sourceforge.net/demo/fm.php).

I don’t have a server with PHP at work so I haven’t tested this, but judging from the online demo, it would be a great tool to have on-hand.

3 Responses to “PHP File Manager”

  1. Mariann Says:

    Love this script as I’m cobbling together a mixture of different tools, content management systems, and scripts to offer a portfolio system for my students to use next semester. I’ll definitely be checking this out, especially if it allows for file size limits!

  2. Andreas Says:

    If you want something even simpler there is File Thingie ( http://www.solitude.dk/filethingie/ ). Yes, I made it. It’s one file, no fuss.

    IMHO it’s easier to customize (pure CSS design), and it’s xhtml 1.1 compliant for those who like that kind of stuff. :)

  3. danyl Says:

    Things to be aware of:
    If you’re not using the $user and $pass settings, you’re basically providing webspace for anyone in the world to upload/download things.

    If you don’t add “shtml” to the list of filename extensions to turn off, and people other than yourself can access this script, you’ve got a big security hole. (note, the demo at sourceforge doesn’t have that extension excluded… *wince*)

    Finally, I’d suggest placing .htaccess level authetication on the directory where this thing resides.

    Don’t get me wrong - its a great script - but it could bite you if you’re careless with it.

    Thanks for the link!

    Danyl