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 remember token in laravel?
How will you explain homestead in laravel?
Tell me what are the official packages provided by laravel?
Can you exclude uris from csrf protection in laravel? Explain
What are controllers in laravel?
What are guards in laravel?
What are the advantages of queue?
How do I make all of my forms bootstrap opinionated?
Define http middleware?
What is Laravel - Middleware ?
How to get current url in laravel?
What does double quotation mean?
How to generate urls from named named routes?
Exceptions are handled by which class?
How to use cookies in laravel?