Depends if the extension is being passed to $fileName... have you tried var_dumping it?
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.
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
I was fairly certain it'd do that. Problem solved!
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community