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 vagrantfile?
How to work with Database in Laravel ?
What is singleton in laravel?
What is laravel eloquent?
Explain some benefits of laravel over other php frameworks.
what is Basic Routing ?
What is difference between var_dump and print_r?
What are helper functions and name 10 with their purposes?
How to enable maintaince mode in laravel?
How to Redirecting to Controller Actions in Laravel ?
What is the best package to set up billing and subscription with stripe and braintree?
Is valet supports windows or ubuntu environment?
Explain how to add additional sites in homestead environment?
What do you understand by lumen?
Tell me how to set database connection in laravel?