Support the ongoing development of Laravel.io →
Authentication Session Testing
Last updated 3 months ago.
0

one more thing, i know you guy will tell me to upgrade to Laravel 4.1 or 4.2 but i want to stay with 4.0 Version because it is really stable for me :)

Last updated 3 months ago.
0

Of course it should be working.
What is "name"? Is it text input or file input? (You mentioned image?)

Last updated 3 months ago.
0

Thanks TorchSK, again! It is file input. Yeah, i mentioned about image.

Last updated 3 months ago.
0

Then you have to use

if (Input::hasFile('name'))
{
    //
}

to check If a file was uploaded

Last updated 3 months ago.
0

You made my day! Thank you so much ^_^!!

Last updated 3 months ago.
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.