caos30 / php_srrFileManager

A unique PHP script of less than 100kb which help you to list, add, edit, move, delete, rename, search, zip/unzip, etc files and directories. It doesn't need a database, so it's fast to "install" and use :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

A simple PHP script of less than 100kb which help you to:

  • list
  • add
  • edit
  • move
  • delete
  • rename
  • search
  • zip/unzip
  • upload
  • get remote

files and directories. Even to get a remote file using its URL (thanks to curl).

It doesn't need a database, so it's fast to "install" and use :)

It contain several languages interface:

  • english
  • catalan
  • castillian (spanish of spain)
  • germany
  • polish

It contain two skins for style displaying: mint, night.

Screenshot

screenshot

Installation

  1. As simple as to create a folder within the directory that you wants to "explore" and put inside these files

  2. edit the a_users array in the $config variable (within index.php) for specify a username, password and "filefolder" (read below before use it)

Notes:

  • in the downloaded package you will find the directory "tmp" which is only for development purpose, so it is not necesary for the script, and you can delete it.
  • to be able to use CURL php native functions to get remote files hosted in other servers you need to have enabled the curl extension on your PHP

Users & folders

  • in the array a_users (index.php) you can add so many users as you need
  • each one has permission to access to the files/directories contained under the "filefolder" directory that you specify for them
  • this "filefolder" usually take the value: ../ (will give access to the parent directory to the container of this script)
  • so, briefly: the "filefolder" is a RELATIVE path !
$config['a_users'] = array();
$config['a_users']['admin'] = array('user'=> 'admin', 'pass'=> '1234', 'filefolder'=> '../');

Problems

If you have problems for move, edit, upload, etc... probably is due to a problem with permissions:

  • perhaps the owner of the script is not the necesary for read/write the files
  • or perhaps the files you need read/write has quite low permissions, so you must to increase it

Security

This tool is very dangerous for be accessed by bad people, so although it use cookies for login, it's recommendable that you take one of these measures:

  • if you can, it's better (very recommendable!) that you access the script using SSL certificate (https://)
  • upload this script only when you need it and after delete it
  • possibly the best option is this: put the script inside a directory protected with user/password through Apache directory protection

License

LICENSE: GPL v2

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Team

As developers & translators:

  • Sergi Rodrigues (from 2009)
  • Daniel Schlichtholz (from Aug 2012)
  • kaaboaye (from Apr 2015)

To do

  • list the content of a ZIP file
  • alert when the unzip operation will overwrite existing folders/files !! By now they are simply overwritten :(
  • add the ability of use checkboxes for select several files/directories for apply to them the SAME operation (move/delete/zip/etc..)

Versions Log

== 1.0 [2012-08-14]

  • Initial version

== 1.1 [2012-09-01]

  • Fixed login issues
  • Solved PHP notices and warnings
  • Added language: germany
  • Frontend: sort language list by name
  • Removed some unused variables

== 1.2 [2012-09-04]

  • extracted the language translations from the main PHP file to the folder "languages" for be compatible with oTranCe
  • the translations are now defined within an array instead to be defined as PHP constants
  • extracted the css styles from the main PHP file to the folder "skins"
  • renamed the main PHP script ("srrFileManager.php") to "index.php"

== 1.3 [2015-04-29]

  • added the polish translation
  • bugfixed the management of available languages in the frontend
  • improved some minor issues in CSS

== 1.4 [2015-12-20]

  • added the ability of zip/unzip files/directories

== 1.5 [2018-12-10]

  • added the ability of get remote URL files (using curl)

More details at: https://github.com/caos30/php_srrFileManager/commits/master

About

A unique PHP script of less than 100kb which help you to list, add, edit, move, delete, rename, search, zip/unzip, etc files and directories. It doesn't need a database, so it's fast to "install" and use :)

License:GNU General Public License v2.0


Languages

Language:PHP 92.4%Language:CSS 7.6%