Admittedly, there are similar questions lying around on Stack Overflow, but it seems none quite meet my requirements.
Here is what I'm looking to do:
- Upload an entire form of data, one piece of which is a single file
- Work with Codeigniter's file upload library
Up until here, all is well. The data gets in my database as I need it. But I'd also like to submit my form via an AJAX post:
- Using the native HTML5 File API, not flash or an iframe solution
- Preferably interfacing with the low-level
Can this be achieved?