CancelButton Property

php Uploader

PHP File Uploader Class Reference

Uploader.CancelButton Property

Gets or sets the allowed file extensions for uploading.

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.                 $uploader->CancelButtonID="uploadercancelbutton";   
  9.                 $uploader->Render();   
  10.             ?>                  
  11.             <img id="uploadercancelbutton" style='display:none;' alt="Cancel" src="sampleimages/cancel_button.gif" />   
  12.         </form>   
  13. </body>   
  14. </html>  
am>