Commit 52bce559 authored by lukemartin's avatar lukemartin

Adding third parameter (filename) to upload method.

parent 56c6202d
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#### Moving a $_FILE to a permanent location: #### Moving a $_FILE to a permanent location:
Input::upload('picture', 'path/to/pictures'); Input::upload('picture', 'path/to/pictures', 'filename.ext');
> **Note:** You can easily validate file uploads using the [Validator class](/docs/validation). > **Note:** You can easily validate file uploads using the [Validator class](/docs/validation).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment