Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dekuan/defileuploader
https://github.com/dekuan/defileuploader
composer laravel php uploader
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dekuan/defileuploader
- Owner: dekuan
- License: apache-2.0
- Created: 2017-08-28T03:41:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-06T12:11:51.000Z (about 7 years ago)
- Last Synced: 2024-12-08T01:07:05.857Z (2 months ago)
- Topics: composer, laravel, php, uploader
- Language: PHP
- Size: 18.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# defileuploader
# Usage
Receive a file sent from client.
```
$oUploader = new CDeFileUploader();
$oUploader->setAllowFileExt( Array( 'jpg', 'jpeg', 'png' ) );
$oUploader->setLmtMaxSize( 2 * 1024 * 1024 ); // 2M
$oUploader->setOverwrite( true );
$oUploader->saveUploadFile( $sDstFilePath, & $vStreamData = "" );
```