Examples

Simple File Upload with Custom Validation

A basic sample demonstrating the upload script writing straight to a folder via SaveDirectory. Several files can be selected at once, and file size and type are validated on the client before anything is sent.

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

MultipleFilesUploadInsertTextMaxSizeKBAllowedFileExtensionsSaveDirectory
Live demo

Try it: files land in the savefiles folder and each one is linked below the uploader when it completes.

Working the way you need? Download the free trial or see licence pricing from $99.

save-directory.php
<?php
    $uploader = new PhpUploader();
    $uploader->MultipleFilesUpload = true;
    $uploader->InsertText = "Select multiple files (Max 1000M)";
    $uploader->MaxSizeKB = 1024000;
    $uploader->AllowedFileExtensions = "*.jpg,*.png,*.gif,*.bmp,*.txt,*.zip,*.rar";
    $uploader->SaveDirectory = "savefiles";
    $uploader->Render();
?>
Guide Storing uploaded files

Filesystem with database metadata, BLOB columns, or object storage.

Reference API documentation

Every property and server-side event the component exposes.

Get started Download the free trial

The evaluation build ships with these samples and full source.

Pricing Licences from $99

Perpetual licence, free upgrades, no recurring fee. Domain, IP, team and enterprise.