TABLE OF CONTENTS
| Section A
Download & License
| Section B
| Section C
DOWNLOAD & LICENSE
Core Boxx is released under the MIT License. You are free to use it for your own personal and commercial projects, modify it as you see fit. On the condition that there the software is provided “as-is”. There are no warranties provided and “no strings attached”. Code Boxx and the authors are not liable for any claims, damages, or liabilities.
INSTALLATION & REQUIREMENTS
- Install Composer.
- Open the command prompt, navigate to your project folder.
composer require flowjs/flow-php-server.
That’s all, Composer will automatically download the latest version into the
vendor folder. Launch
upload.html and test it out – You may need to change
target: 'api/upload/recv/' if the URL fails to resolve.
This module adds a resumable upload endpoint at
http://yoursite.com/api/upload/recv/. Also, you can send
$_POST['confirm'] = "KEEP-CALM-AND-FLUSH" to
http://yoursite.com/api/upload/flush/ to clean out the upload temp folder. Yes, there are no library functions, only the endpoint.
The module is extremely basic out-of-the-box, with code that is pretty much copy-and-pasted from the FlowPHP documentation… Do your own checks and processes! Limit uploads to registered users, give each user a separate folder, set an upload quota, limit file types, protect the flush function, etc…