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 |
List some default packages provided by laravel 5.6?
How to register a middleware in laravel?
How many types of middleware are there in laravel?
What does guid stand for?
What do you mean by route groups used in laravel 5?
What is a recursive helper function?
Explain automatic injection in laravel?
How to install laravel?
How do you do dependency injection in laravel?
How to check ajax request in laravel?
What is csrf protection in laravel?
I just installed laravel and have the evil whoops error,how do I find out what’s wrong and fix it?