Support the ongoing development of Laravel.io →
Reached

Reached

Joined 27 Feb 2014

Statistics

Threads 35
Replies 111
Solutions 6
Articles 0

Converting & to &

How can I do this assuming the user inputs an & as fx. "h&m"? :)

0 Likes
1 Replies

Dynamic form fields, save to db

Hey guys, I'm trying to save some form fields to my DB that I am creating dynamically with a button...

0 Likes
3 Replies

Delete old image on update?

Hey guys, Im using the Intervention image to allow users to upload their images - this part works. W...

0 Likes
2 Replies

Looping over relationship inside foreach

Hi guys, I cannot seem to figure out why this does not work. I want to show the opening hours for my...

0 Likes
5 Replies
posted 11 years ago

Setting debug false in Forge environment

Hey guys, I deployed my application, and im currently using environment variables for my sensitive i...

0 Likes
1 Replies
Solved
replied 11 years ago

Can't upload a photo to laravel

Please make sure that you are in fact uploading a file of the specified type (i've failed on this my...

0 Likes
replied 11 years ago

Can't upload a photo to laravel

I'm not sure it's related, but did you add: 'files' => true As I suggested earlier?

0 Likes
replied 11 years ago

Can't upload a photo to laravel

You would do that in your validation model (assuming you are using some kind of package). Example: '...

0 Likes
replied 11 years ago

Can't upload a photo to laravel

Here is a snippet of some of my own code that might help you. $image = Input::file('image'); $file...

0 Likes
replied 11 years ago

Can't upload a photo to laravel

Add 'files' => true To your Form array. And also fix your path (seems like there is a typo): user...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.