PHP Classes

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

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


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: 2 packages by
Country: Australia Australia
Age: ???
All time rank: 439951 in Australia Australia
Week rank: 371 Up3 in Australia Australia Up
Innovation award
Innovation award
Nominee: 1x


Temporary File Hosting

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


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

p.s. Check out It is a file sharing service made by me.

  Files folder image Files  
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 Doc. Documentation
Accessible without login Plain text file upload.php Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,917
This week:82Up