Support the ongoing development of Laravel.io →
posted 10 years ago
Input
Last updated 2 years ago.
0

Depends if the extension is being passed to $fileName... have you tried var_dumping it?

Last updated 2 years ago.
0

It's more of a "What's going to happen?" Does Input::file('photo')->move("public", "test") make a file called "test" or "test.jpg" etc?

Since I'm changing the file name, that's something that could get annoying.

Last updated 2 years ago.
0

I would assume that it doesn't make assumptions about file extension...case in point: you have a test.jpg, test.png, and test.gif. Without an extension, file('photo') could hit on any valid image extension with the same name

Last updated 2 years ago.
0

I was fairly certain it'd do that. Problem solved!

Last updated 2 years ago.
0

hoorah!

Last updated 2 years ago.
0

There is a Laravel meetup in DC that has been going on for a while. They have around 40 members. I have been to one of their meetups and enjoyed it. I started a Laravel meetup here in Baltimore, but it is off to a very slow start and only has a handful of members. Hoping to plan another meetup soon.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.