Support the ongoing development of Laravel.io →
Authentication Session Testing
Last updated 2 years 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 2 years ago.
0

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

Last updated 2 years ago.
0

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

Last updated 2 years ago.
0

Then you have to use

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

to check If a file was uploaded

Last updated 2 years ago.
0

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

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.