Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Laravel - File Uploading ?



What is Laravel - File Uploading ?..

Answer / rachana devi

Uploading Files in Laravel is very easy. All we need to do is to create a view file where a user can select a file to be uploaded and a controller where uploaded files will be processed.

In a view file, we need to generate a file input by adding the following line of code.

Syntax : Form::file('file_name');

In Form::open(), we need to add ‘files’=>’true’ as shown below. This facilitates the form to be uploaded in multiple parts.

Syntax : Form::open(array('url' => '/uploadfile','files'=>'true'));

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

How will you explain middleware in laravel?

0 Answers  


Explain the events in laravel?

0 Answers  


What are the requirements for laravel 5.8?

0 Answers  


What is the difference between namespace and use in laravel?

0 Answers  


What is the use of dd() function?

0 Answers  


What is double submit cookie?

0 Answers  


What is composer in laravel?

0 Answers  


How to get cookies in laravel?

0 Answers  


What is meant by Laravel - Validation ?

1 Answers  


What is technology service provider?

0 Answers  


What is illuminate in laravel?

0 Answers  


What does xss stand for?

0 Answers  


Categories