Examples

File Upload with Custom handler

A sample demonstrating how to implement a custom upload handler that accepts the incoming files. In the handler page (UploadUrl) you can rename the uploaded files and run any other logic programmatically.

Allowed file types: jpg, gif, png, bmp. Maximum file size: 10 MB.

MultipleFilesUploadInsertTextMaxSizeKBAllowedFileExtensionsUploadUrl
Live demo

Try it: each file is handed to demo2_upload.php, which renames it with a myprefix_ prefix before saving.

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

custom-handler.php
<?php
    $uploader = new PhpUploader();
    $uploader->MultipleFilesUpload = true;
    $uploader->InsertText = "Select multiple files (Max 10M)";
    $uploader->MaxSizeKB = 10240;
    $uploader->AllowedFileExtensions = "*.jpg,*.png,*.gif,*.bmp";
    $uploader->UploadUrl = "demo2_upload.php";
    $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.