Hi jaubrun,
You can achieve it in API "CuteWebUI_AjaxUploader_OnSelect". like the example below, it will alert the upload file name, then cancel the upload.
- <?php require_once "phpuploader/include_phpuploader.php" ?>
- <?php session_start(); ?>
- <!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>
- example
- </title>
- </head>
- <body>
-
-
- <?php
- $uploader=new PhpUploader();
- $uploader->Name="myuploader";
- $uploader->InsertText="Select multiple files (Max 10M)";
- $uploader->MultipleFilesUpload=true;
- $uploader->Render();
- ?>
-
- </body>
-
- <script type='text/javascript'>
- function CuteWebUI_AjaxUploader_OnSelect(files)
- {
- for(var i=0;i<files.length;i++)
- {
-
- alert(files[i].FileName);
-
- files[i].Cancel();
- }
- }
- </script>
- </html>
Regards,
Ken