Pomf is a simple lightweight file host with support for drop, paste, click and API uploading.
Strip tags from original filename.
File extension fix also no more double dots since it's easy to abuse and not a lot of files actually use it... so lets put that on hold for now, also improved IP detection.
Moar static types!!
A lot of changes has been made in this version, pretty much all of the code has been reworked. Be sure you're on PHP 8.0 or higher before upgrading.
TODO
You NEED to use the new DB schema for this version to work and replace upload.php and settings.inc.php!
To enable paste uploading on an existing install just replace pomf.min.js with: https://gist.githubusercontent.com/nokonoko/c0e301f759ede0b6c0251490480d5be0/raw/f3197dc15801c13a061c4f483a21281f44c5b778/pomf.min.js