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 laravel 5 homestead?
What is laravel cms?
What is eloquent orm in laravel?
Explain how to serve sites with tls on valet?
What are the major differences between laravel 4 and laravel 5.x?
What is x-xsrf-token?
How can we implement a package in laravel?
What is laravel trait?
What is eloquent?
Is laravel faster than rails?
What are the types of service providers?
What do you know about facades in laravel? Explain.