PHP Classes

Temporary PHP File Hosting: Host shared files to be downloaded for some time

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-10-25 (10 months ago) RSS 2.0 feedNot enough user ratingsTotal: 96 All time: 9,856 This week: 82Up
Version License PHP version Categories
temporary-file-hosti 1.0The PHP License5PHP 5, Files and Folders, Applications, G...
Description 

Author

This package can host shared files to be downloaded for some time.

It implements a Web application allowing users to upload files to be shared with others.

The package gives a random name to each uploaded file and stores the uploaded file date and time in a separate file.

It also provides a download link for users to download the shared file.

The package checks the upload date and time when the download link is accessed.

If the upload time was over 3 hours ago, the package no longer allows downloading the file.

Innovation Award
PHP Programming Innovation award nominee
October 2023
Number 6
File-sharing sites are helpful to allow users to send files that would be too large to share by other means, like, for instance, email messages or chat applications like Facebook Messenger, WhatsApp, Google Chat, or others.

Usually, the files shared using file-sharing sites only need to be shared for a short period so the users who need to access those files can download them.

This package provides a simple file-sharing Web application that allows users to upload and download files.

The shared files will only be available for a limited period.


Manuel Lemos
Picture of Parsa Yazdani
  Performance   Level  
Name: Parsa Yazdani <contact>
Classes: 3 packages by
Country: Australia Australia
Innovation award
Innovation award
Nominee: 2x

Documentation

Temporary File Hosting

A simple file hosting script that deletes any files older than 3 hours old

Configuration

Create the following directories "uploads/" and "creation_date/"

p.s. Check out https://starfiles.co. It is a file sharing service made by me.


  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file download.php Aux. Auxiliary script
Accessible without login Plain text file downloader.php Aux. Auxiliary script
Accessible without login Plain text file index.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file upload.php Aux. Auxiliary script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:96
This week:0
All time:9,856
This week:82Up