ProgressTextID Property

php Uploader

PHP File Uploader Class Reference

Uploader.ProgressTextID Property

It allows the developers specify a server control to show the progress text of PHP File Uploader.

Example Code

  1. <?php require_once "phpuploader/include_phpuploader.php" ?>   
  2. <html>   
  3. <body>   
  4.         <form id="form1" method="POST">   
  5.               <?php          
  6.                 $uploader=new PhpUploader();         
  7.                 $uploader->Name="myuploader";        
  8.                 //Specify the ID of the control that will be used as progress bar panel.       
  9.                 $uploader->ProgressCtrlID="uploaderprogresspanel";       
  10.                 //Specify the ID of the control that will be used as progress text label.       
  11.                 $uploader->ProgressTextID="uploaderprogresstext";   
  12.                 $uploader->Render();       
  13.             ?>       
  14.             <div id="uploaderprogresspanel" style='display:none;background-color:orange;border:dashed 2px gray;padding:4px;' BorderColor="Orange" BorderStyle="dashed">       
  15.                 <span id="uploaderprogresstext" style='color:firebrick'></span>       
  16.             </div>   
  17.         </form>   
  18. </body>   
  19. </html>