Skip to content

Created File::upload() #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2011
Merged

Created File::upload() #18

merged 1 commit into from
Jun 26, 2011

Conversation

mikelbring
Copy link
Contributor

This should be the first step to handling file uploads. Its basically just a wrapper for move_uploaded_file. The next step I could see is using validator to handle file validation such as filesize, type, etc. What are your thoughts for that?

@taylorotwell
Copy link
Member

Would it be possible for this function to use $_FILES for you so you can just pass the name? It would do $_FILES[$key]['tmp name']... Responded to the validation stuff in the forums. Thanks!

taylorotwell added a commit that referenced this pull request Jun 26, 2011
@taylorotwell taylorotwell merged commit e0cb6e6 into laravel:develop Jun 26, 2011
zoe-edwards pushed a commit to zoe-edwards/laravel that referenced this pull request Oct 14, 2013
…verride

Allow routes to override by order of declaration. Fixes laravel#17.
dinhtancg added a commit to traixinhgaidep/laravel that referenced this pull request Apr 19, 2018
sl0wik added a commit to sl0wik/laravel that referenced this pull request Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants