Re: Looks promising I do have a question though.

  •  05-14-2010, 8:08 AM

    Re: Looks promising I do have a question though.

    Please save the following code to "5.php", run this example, 
    <?php require_once "phpuploader/include_phpuploader.php" ?>
    <?php session_start(); ?>
    <html>
    <head>
    <title>Example</title>
    </head>
    <body>
    <form name="theForm" action="5.php?postback=true" method="post">
    <h1>Example</h1>
    <table>
     <tr>
      <td>Subject:</td>
      <td><input name="subject" type="text" id="subject"
       style="width: 170px;" /></td>
     </tr>
     <tr>
      <td>From:</td>
      <td><input name="from" type="text" id="from" style="width: 170px;" />
      </td>
     </tr>
     <tr>
      <td>To:</td>
      <td><input name="to" type="text" id="to" style="width: 170px;" /></td>
     </tr>
    </table>
    <br />
    <br />
    <br />
    <?php
    $uploader=new PhpUploader();
    $uploader->MultipleFilesUpload=true;
    $uploader->InsertText="Select multiple files (Max 1000M)";
    $uploader->MaxSizeKB=1024000;
    $uploader->Render();
    echo '<br \>';
    echo '<br \>';
    if(@$_POST["subject"]!=null)
    {
     echo $_POST["subject"];
     echo '<br \>';
    }
    if(@$_POST["from"]!=null)
    {
     echo $_POST["from"];
     echo '<br \>';
    }
    if(@$_POST["to"]!=null)
    {
     echo $_POST["to"];
     echo '<br \>';
    }
    ?></form>
    </body>
    </html>
    Regards,
    Eric
View Complete Thread