Nincs leírás

ChillerDragon 0d3263bee0 make up random port 1 éve
.gitignore 8ce7ba1f22 Allow bigger file size and use i as image dir 4 éve
README.md a12be58ec4 Warn about max file size from php ini side 4 éve
index.php 2a830b111a Simplify upload name 4 éve
prod.sh 0d3263bee0 make up random port 1 éve
table.sql f0cddfaeb0 w3 schools image upload 4 éve
upload.php 2612644127 Fix concat 1 éve

README.md

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