Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Highlyflammable-Tech/php-file-host

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Php-file-host

A php file host which can be used with sharex

Based on https://github.com/Inteliboi/ShareX-Custom-Upload

Example of where it is being hosted: https://files.highlyflammable.tech/

Setup

  1. Clone
  2. Edit index.php:
    • Adding in your own sql database info
    • Editing your response when a file isn't found or on the homepage
  3. Upload to your host
  4. Create a folder called i
  5. Change i Chmod to be 770
  6. Copy example.sxcu into sharex and edit to have you domain and tokens in

The Database

I will create a Database setup file soon but for now it only needs a table called TOKENS and a column called TOKEN+ OWNER Another table called URLS with columns called URL + ID + OWNER

Support

If you need support please join the code::together discord server. Then please ping me ♛ ᖴᒪᗩᙏᙏᗩᙖᒪᙓᗩSSᗩSSIᑎ® ♛#4701 in the php channel!

Things that need to be done

  • Add SQL database support
  • URL Shortener
  • Add file name checking
  • A Sharex custom uploader file generator for either clipboard or file download
  • Get a list of viewable files
  • Token manager for the DB

Ideas

  • Password protect a file

About

A php file host which can be used with sharex

Resources

License

Stars

Watchers

Forks

Languages