1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-05 00:49:33 +00:00
Simple Filehosting Page in a Single PHP File (obvious 0x0 clone)
Go to file
2016-07-18 03:40:06 +02:00
.htaccess set charset for serving .txt files to utf8 2016-07-18 03:37:57 +02:00
index.php check uploaded file's size 2016-05-12 22:56:58 +02:00
README.md add readme 2016-04-27 00:14:38 +02:00

Single .php Filehost

Simple .php script, mainly for sharing random files with people via curl. (and thus in an easily scriptable way)

You can pretty much just slap this on any webserver with apache2 and rewrite enabled on it, and it should work. The .htaccess is just what I use, and could possibly need a tweak, depending on your situation. Everything else, including configuration, is explained in the code. (but should be pretty self-explanatory anyway)