It allows the developers specify a server control to show the progress text of PHP File Uploader.
Example Code- <?php require_once "phpuploader/include_phpuploader.php" ?>
- <html>
- <body>
- <form id="form1" method="POST">
- <?php
- $uploader=new PhpUploader();
- $uploader->Name="myuploader";
- //Specify the ID of the control that will be used as progress bar panel.
- $uploader->ProgressCtrlID="uploaderprogresspanel";
- //Specify the ID of the control that will be used as progress text label.
- $uploader->ProgressTextID="uploaderprogresstext";
- $uploader->Render();
- ?>
- <div id="uploaderprogresspanel" style='display:none;background-color:orange;border:dashed 2px gray;padding:4px;' BorderColor="Orange" BorderStyle="dashed">
- <span id="uploaderprogresstext" style='color:firebrick'></span>
- </div>
- </form>
- </body>
- </html>