UploadType Property

php Uploader

PHP File Uploader Class Reference

Uploader.UploadType Property

The global type of upload method to use.

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->UploadType="Iframe";   
  9.                 $uploader->Render();   
  10.             ?>   
  11.         </form>   
  12. </body>   
  13. </html>  

Members

Member Name Description
Auto Determines browser capabilities and chooses the most appropriate method to upload.
Flash Uses an enhanced file dialog facilitated by a Flash object.
Silverlight Uses an enhanced file dialog facilitated by a Silverlight object.
IFrame Uses a standard IFrame technique to provide upload functionality without requiring the Flash plugin.