Secure, fast and temporary file hosting web service wrote in PHP.
Copy paste the files to your webserver.
Make sure the permission are correct by browsing check.php
.
If not, edit permission so the webserver owns the files.
Delete check.php
once checked
Make sure to edit your php.ini
conf file to increase the file size limit.
Check https://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize
- Block the access to the /tmp directory from the website
- Block the access to the log.txt file from the website
For example, using an .htaccess if you are working with Apache. If you use an .htaccess in the /tmp directory, make sure that it won't be deleted when the /tmp directory is emptied.
Delete git relative files/folder is you cloned the repository.
I'll code a bash script later