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 route model binding?
How to do environment configuration in laravel.
Which types of relationships are available in laravel eloquent?
What is the difference between laravel and symfony?
List the steps to configure laravel application.
How do you do dependency injection in laravel?
What directories that need to be writable laravel installation?
How do I register a middleware?
How to work with Database in Laravel ?
What is a Composer command ?
Why should I use laravel?
Tell us do you have any experience with lamp?