How to create view Laravel - File Uploading ?
Answer / 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 |
what is meant by Laravel ?
What is blade template engine?
Define composer.
List default packages of laravel 5.6?
How to get, set cookies in laravel?
What are the example of services?
How to assign a variable value for all view file?
Difference between facades vs. Dependency injection?
What is gate in laravel?
How to pass csrf token with ajax request?
What do you understand by eloquent orm?
How to add csrf protection in laravel?