You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
Josh Lockhart edited this page Mar 4, 2015
·
1 revision
OK let's get this show on the road. The objective is to create a PHP component to receive, validate, and distribute file uploads. I imagine most file uploads will arrive via multipart/form-data POST requests from traditional HTML forms. However, it would be nice to support receiving files from any inbound stream.
Features
Simple user interface for manipulating file uploads
Validate file uploads (e.g., file size, mimetype, and so on)
Integrate with FlySystem for sending uploaded files to final destinations
Questions
Should we limit this to only files uploaded via HTTP POST? Or to any inbound stream?
If we use any inbound stream, how do we prevent malicious actors? See is_uploaded_file().
How will we handle image data vs. text data?
How will we wrap/abstract the global $_FORMS data structure?