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
What is route in laravel?
Tell us what are advantages of laravel?
How we can get user's detail when he is logged in using auth?
What is eloquent orm?
How to check table is exists or not in our database using laravel?
What is a laravel model?
What do you know about closures in laravel?
What are all the different Route Parameters ?
Explain laravel contracts?
What does valet park and link command do?
What is facade and how it is used in laravel?
List the software’s included in laravel homestead?
What are terminable middlewares?
What are system requirement for laravel 5.0?
Explain facades in laravel?