Re: 2 uploader in the same page

  •  01-28-2011, 8:40 AM

    Re: 2 uploader in the same page

    Dear mikhellqc,
     
    Multiple instances of php uploader are supported. Please add the highlighted line in your code and try it again.
     
    <?php
       $uploader=new PhpUploader();
       $uploader->Name="myuploader";
       $uploader->MultipleFilesUpload=false;
       $uploader->InsertText="Upload File (Max 10M)";   
       $uploader->MaxSizeKB=1024000; 
       $uploader->AllowedFileExtensions="jpeg,jpg,gif,png,zip";   
       $uploader->SaveDirectory="savefiles";
       $uploader->Render();
       
       $uploader1=new PhpUploader();
       $uploader->Name="myuploader2";
       $uploader1->MultipleFilesUpload=false;
       $uploader1->InsertText="Upload File (Max 10M)";   
       $uploader1->MaxSizeKB=1024000; 
       $uploader1->AllowedFileExtensions="jpeg,jpg,gif,png,zip";
       $uploader1->SaveDirectory="savefiles1";   
       $uploader1->Render();   
      ?> 
     
    Thank you for asking
     
View Complete Thread