PHP code example of lamhotsimamora / uploadfile
1. Go to this page and download the library: Download lamhotsimamora/uploadfile library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lamhotsimamora / uploadfile example snippets
/*
* Default $_FILES['file']
* Default directory ('assets/files')
* Default size (500000 Byte)
*/
$file = new \Lamhotsimamora\UploadFile();
echo $file->upload();