Examples

Start uploading manually

This sample demonstrates how to start uploading manually after the files are selected, instead of starting automatically.

Allowed file types: jpg, gif, txt, png, zip, rar. Maximum file size: 10 MB.

Demo code

<?php
    $uploader = new PhpUploader();
    $uploader->MultipleFilesUpload = true;
    $uploader->MaxSizeKB = 10240;
    $uploader->InsertText = "Select multiple files (Max 10M)";
    $uploader->AllowedFileExtensions = "*.jpg,*.png,*.gif,*.txt,*.zip,*.rar";
    $uploader->ManualStartUpload = true;
    $uploader->Render();
?>
Testing the demo: pick a few files, then press Start Uploading Files to begin the transfer.