Simple, Portable PHP File-Sharing
Go to file
2020-12-30 12:00:05 +00:00
assets Delete del.txt 2020-12-27 16:16:56 +00:00
files Create index.php 2020-12-27 16:08:41 +00:00
images Delete del.txt 2020-12-27 16:09:35 +00:00
.htaccess Creating .htaccess for Apache users to secure DB 2020-12-30 12:00:05 +00:00
config.global.php Add files via upload 2020-12-27 16:00:42 +00:00
download.php Migrated to SQLite 2020-12-30 10:33:37 +00:00
functions.global.php Migrated to SQLite 2020-12-30 10:32:51 +00:00
index.php Removed unnecessary include 2020-12-30 10:29:28 +00:00
layout.php Entirely trivial comment change 2020-12-30 10:34:38 +00:00
login.php Changed session value names 2020-12-30 10:35:54 +00:00
logout.php Changed session value names 2020-12-30 10:36:39 +00:00
manage.php Migrated to SQLite 2020-12-30 10:38:00 +00:00
README.md Update README.md 2020-12-30 10:43:18 +00:00
screen-download.png Add files via upload 2020-12-27 16:23:39 +00:00
screen-login.png Add files via upload 2020-12-27 16:23:39 +00:00
screen-main.png Add files via upload 2020-12-27 17:10:29 +00:00
screen-manage.png Add files via upload 2020-12-27 16:23:39 +00:00
screen-upload.png Add files via upload 2020-12-27 16:23:39 +00:00
setup.php Migrated to SQLite (patching race condition vuln) 2020-12-30 10:31:45 +00:00
upload.php Migrated to SQLite 2020-12-30 10:38:59 +00:00

SimpleFS

Simple, Self-Hosted, PHP File Sharing

Features

  • Portable
  • Dual- or single-user set up (users with permission to upload)
  • SQLite

Installation

  • Place files on your web server (doesn't have to be in the root directory)
  • Visit setup.php in your web browser to create a user or two to upload files (this script will also create & initialize the SQLite database)
  • Delete setup.php after setting up, as leaving it there is a security risk

That's it

Usage

  • After signing in, upload files via upload.php
  • After uploading, shareable links can be obtained from manage.php in the format download.php?id=XXXXX

User Recovery / Forgot Password

  • If you forget your password, download & re-run setup.php

Requirements

  • Please ensure that your php.ini permits uploads. Check for the line:
file_uploads = On

Screenshots

Main Sign in Upload Download Manage