Skip to content

Just an ugly and simple form for upload files using php.

Notifications You must be signed in to change notification settings

jmcerrejon/php_uploader

Repository files navigation

PHP uploader

Description

Just an ugly and simple form for upload files using php made in 1 hour.

Installation

  • 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.

Features

  • Login/Logout through $_SESSION.

  • Settings at .env file.

  • Upload into a /storage folder. You can change it.

  • You can set the maximum file size.

Dependencies

TODO

  • 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.

Inspiration

Author

  • Jose Manuel Cerrejon Gonzalez (@ulysess10) ulysess[at]gmail[.]com - 2018

License

  • This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

About

Just an ugly and simple form for upload files using php.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages