Re: How can i avoid that the page do PostBack after to upload a file?

  •  03-13-2012, 8:49 AM

    Re: How can i avoid that the page do PostBack after to upload a file?

    Hi Vizzent,
     
    If your want to submit the data and upload file at the same time, please use start upload manually example http://phpfileuploader.com/demo/form-manualstart.php  
     
    And please try the example page below, it does not do the post back after file upload
     
    <?php require_once "phpuploader/include_phpuploader.php" ?>
    <?php session_start(); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>example</title>
    </head>
    <body>
    <div>
    <?php
       $uploader=new PhpUploader();
       $uploader->Name="myuploader";
       $uploader->InsertText="Upload File (Max 10M)";   
       $uploader->Render();
      
      ?> 
    </div>
    </body>
    </html>
     
    Regards,
     
    Ken 
View Complete Thread