Uploader Class

php Uploader

PHP File Uploader Class Reference

Uploader Class

PHP File Uploader is an easy to use, hi-performance File Upload Control which allows you to upload files to web server without refreshing the page. It allows you select and upload multiple files and cancel running uploads, add new files during uploading.

The look and feel of file upload controls can be customized to seamlessly blend into your website design.

Remarks

PHP File Uploader supports all Internet Explorer versions from 5.5 up on Windows, Firefox 1.0+, Mozilla 1.3+, Netscape 7+, Opera 9.x and Safari (1.3+). This includes Macintosh and Linux. If you attempt to use PHP File Uploader using a browser that is not supported Cute Editor for PHP will render as a regular PHP upload control.


Example


  1. //Step 1: Register Uploader component to your page   
  2. <?php require_once "phpuploader/include_phpuploader.php" ?>   
  3. <html>   
  4. <body>   
  5.         <form id="form1" method="POST">   
  6.             <?php   
  7.                 //Step 2: Create Uploader object.   
  8.                 $uploader=new PhpUploader();   
  9.                 //Step 3: Set a unique name to Uploader   
  10.                 $uploader->Name="myuploader";    
  11.                 //Step 4: Render Uploader   
  12.                 $uploader->Render();   
  13.             ?>   
  14.         </form>   
  15. </body>   
  16. </html>