Improving documentation on file uploads
Adding information about setting multipart/form-data on forms in order to use file uploads.
This commit is contained in:
@@ -69,6 +69,12 @@ When working with JavaScript MVC frameworks like Backbone.js, you will need to g
|
|||||||
|
|
||||||
$size = Input::file('picture.size');
|
$size = Input::file('picture.size');
|
||||||
|
|
||||||
|
> **Note:** In order to use file uploads, you must use `Form::open_for_files()` or manually enable `multipart/form-data`.
|
||||||
|
|
||||||
|
*Further Reading:*
|
||||||
|
|
||||||
|
- *[Openning Forms](/docs/views/forms#opening-a-form)*
|
||||||
|
|
||||||
<a name="old-input"></a>
|
<a name="old-input"></a>
|
||||||
## Old Input
|
## Old Input
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user