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:
Vinícius Fragoso 2012-10-22 16:58:32 -02:00
parent 4f8a6724b0
commit 7c3d278283
1 changed files with 6 additions and 0 deletions

View File

@ -69,6 +69,12 @@ #### Retrieving a specific item from a $_FILES array:
$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>
## Old Input