Skip to content

Commit 2914471

Browse files
committed
Merge pull request laravel#1381 from vFragosop/documentation/improvements
Improving documentation about Input::file()
2 parents 5e3a8de + e8f08ce commit 2914471

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+
- *[Opening Forms](/docs/views/forms#opening-a-form)*
77+
7278
<a name="old-input"></a>
7379
## Old Input
7480

0 commit comments

Comments
 (0)