dekuan/defileuploader

File uploader provider for server side.

1.0.6 2018-01-06 12:10 UTC

README

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 = "" );