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
Tell me how to set database connection in laravel?
What is observer in laravel?
What is compact in laravel?
Please explain what are the main differences between laravel 4 and laravel 5.x?
What are service providers?
What is helpers in laravel?
What is meant by Authorization Mechanism in Laravel ?
How do you generate urls?
Explain how can you write your own service provider in laravel?
What does valet park?
What is bootstrap software development?
Explain how to install installing mariadb on homestead?
How can we use middleware in laravel?
Explain how to share your homestead with others?
What do you understand by unit testing?