Examples

Customizing the UI

A sample demonstrating how to customize the look and feel of the upload script. Here the progress panel, progress text, upload button and cancel button are all supplied by the page.

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

MaxSizeKBAllowedFileExtensionsInsertButtonIDMultipleFilesUploadProgressCtrlID
Live demo Upload File

Try it: the upload button, progress panel and cancel button are ordinary page elements handed to the uploader by id — swap the artwork for your own and nothing else changes. Hover the button to see it react.

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

custom-ui.php
<?php
    $uploader = new PhpUploader();
    $uploader->MultipleFilesUpload = true;
    $uploader->MaxSizeKB = 10240;
    $uploader->AllowedFileExtensions = "jpeg,jpg,gif,png,zip";
    $uploader->InsertButtonID = "uploadbutton";   // your own <img>, any artwork
    $uploader->ProgressCtrlID = "uploaderprogresspanel";
    $uploader->ProgressTextID = "uploaderprogresstext";
    $uploader->CancelButtonID = "uploadercancelbutton";
    $uploader->Render();
?>
Guide Upload progress bars in PHP

Why xhr.upload is the object you need, and what the server cannot tell you.

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.