Dear siwelis,
The following is a full example, please refer to it:
<?php require_once "phpuploader/include_phpuploader.php" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<title>File Upload using UploadUrl</title>
<link href="demo.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="demo">
<h2>File Upload with Custom handler</h2>
<p>A sample demonstrates how to implement a custom upload handler then accepts the incoming files. In handler page (UploadUrl) developers can rename the uploaded files, process other logics programmatically. </p>
<ul>
<li>Allowed file types is set to: *.jpg,*.png,*.gif,*.bmp</li>
</ul>
<?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();
?>
</div>
</body>
</html>
Regards,
Eric