Browse Source

Merge pull request #1381 from vFragosop/documentation/improvements

Improving documentation about Input::file()
Taylor Otwell 12 years ago
parent
commit
2914471de1
1 changed files with 6 additions and 0 deletions
  1. 6 0
      laravel/documentation/input.md

+ 6 - 0
laravel/documentation/input.md

@@ -69,6 +69,12 @@ When working with JavaScript MVC frameworks like Backbone.js, you will need to g
 
 	$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:*
+
+- *[Opening Forms](/docs/views/forms#opening-a-form)*
+
 <a name="old-input"></a>
 ## Old Input