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

I think you need to indicate that the form involves files.

        {{ Form::open( array('url' => '/ft', 'class'=>'form-horizontal', 'files' => true)) }}
            <input type="file" name="le_file"/>
            <input type="submit">
        {{ Form::close() }}
0
Solution

Add enctype property to your upload form. It's mandatory for upload.

<form name="le_form" action="/ft" method="POST" enctype="multipart/form-data">
Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

JamesA1 jamesa1 Joined 31 Jul 2016

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.