adspace


How to create view Laravel - File Uploading ?

Answer Posted / sunil kumar

Create a view file called resources/views/uploadfile.php and copy the following code in that file.
resources/views/uploadfile.php

Example :

<html>
<body>
<?php
echo Form::open(array('url' => '/uploadfile','files'=>'true'));
echo 'Select the file to upload.';
echo Form::file('image');
echo Form::submit('Upload File');
echo Form::close();
?>
</body>
</html>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us have you used lumen before?

809


How much laravel experience do you have?

815


Do you know what version of laravel do you generally use?

839


What is current stable version of laravel?

870


What is latest version of laravel?

869