Skip to content

Commit 7c3d278

Browse files
committed
Improving documentation on file uploads
Adding information about setting multipart/form-data on forms in order to use file uploads.
1 parent 4f8a672 commit 7c3d278

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

laravel/documentation/input.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ When working with JavaScript MVC frameworks like Backbone.js, you will need to g
6969

7070
$size = Input::file('picture.size');
7171

72+
> **Note:** In order to use file uploads, you must use `Form::open_for_files()` or manually enable `multipart/form-data`.
73+
74+
*Further Reading:*
75+
76+
- *[Openning Forms](/docs/views/forms#opening-a-form)*
77+
7278
<a name="old-input"></a>
7379
## Old Input
7480

0 commit comments

Comments
 (0)