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 |
Where is the authentication configuration file is located in laravel?
What are view creators?
How to enable the query logging?
What is views in laravel?
What is meant by Forms in Laravel ?
How to Connecting to Database in Laravel ?
What are Uses While Using the properties of Request instance ?
Command to connect vagrant via ssh?
What is reverse path filtering?
Which js framework is best with laravel?
How will you explain events in laravel?
How to retrive current environment in laravel?