Simple php image upload and hosting service
Find a file
2024-03-20 19:48:35 +08:00
.gitignore Allow bigger file size and use i as image dir 2021-02-28 15:03:54 +01:00
index.php Simplify upload name 2021-02-28 15:13:24 +01:00
prod.sh make up random port 2024-03-20 19:23:32 +08:00
README.md Warn about max file size from php ini side 2021-02-28 17:12:55 +01:00
table.sql w3 schools image upload 2021-02-14 12:19:10 +01:00
upload.php i never have patience when i work on this i should delete the project xd 2024-03-20 19:48:35 +08:00

OpenImg

Simple php image upload and hosting service

setup server

sqlite3 users.db < table.sql
php -S localhost:8080

upload image

curl -F 'file=@image.png;type=image/png' http://localhost:8080/upload.php

max image size

If you get an unexpected error when uploading a file. Try checking this line in your php.ini

upload_max_filesize = 8M