Just an ugly and simple form for upload files using php made in 1 hour.
-
Uncompress the zip file or clone it in a dir inside your hosting.
-
Install composer and then run
composer install
-
Copy the .env.example to .env and change parameters as your like.
-
Enjoy.
-
Notes: If you want to increase the upload files limit, check at php.ini the parameter upload_max_filesize. Check you have write permissions at /storage dir.
-
Login/Logout through $_SESSION.
-
Settings at .env file.
-
Upload into a /storage folder. You can change it.
-
You can set the maximum file size.
-
Multiple files at a time.
-
Better looking. I don't use any css. Maybe I could use a framework. Spoiler: I love Bulma.
-
Refactor all into classes.
-
Take into account I didn't have much more time for this. It's a favor for a colleague. So you are free to PR and improve it.
- Jose Manuel Cerrejon Gonzalez (@ulysess10) ulysess[at]gmail[.]com - 2018
- This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.