Looks promising I do have a question though.

Last post 09-16-2010, 9:05 AM by arinz. 7 replies.
Sort Posts: Previous Next
  •  05-11-2010, 9:40 AM 60909

    Looks promising I do have a question though.

    Hi,
     
    I would like to know if a name and email field can be added?
     
    I would like to have an email sent to the uploader and an e,mail sent to me so I know there was activity.
     
    I have looked through all thr files and maybe I missed it.
     
    If they are not there can this be added?
  •  05-12-2010, 12:01 AM 60925 in reply to 60909

    Re: Looks promising I do have a question though.

    I guess this is not a very active forum?
     
    Wish some one could let me know if adding this is possible, see above.
     
    Thanks
  •  05-12-2010, 7:42 AM 60934 in reply to 60925

    Re: Looks promising I do have a question though.

    You can add as many form items besides uploader. 
    In the target page of your form, you can handle all the post back logic includes uploader files processing. Please check the examples included in the download package.
     
    Regards,
    Eric
  •  05-13-2010, 9:38 AM 60991 in reply to 60934

    Re: Looks promising I do have a question though.

    Thanks Eric,
     
    I have looked through the examples and don't see where you can add an email field, so the up-loader gets a reply after the update.
     
    can you show me an example?
  •  05-13-2010, 2:53 PM 60998 in reply to 60991

    Re: Looks promising I do have a question though.

    -
  •  05-13-2010, 10:11 PM 61011 in reply to 60998

    Re: Looks promising I do have a question though.

    Thanks Eric,
     
    I have re-download the file and I can't find the file you have metioned
    Please save the following code to "1email.php",
     
    Thanks
  •  05-14-2010, 8:08 AM 61020 in reply to 61011

    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
  •  09-16-2010, 9:05 AM 64048 in reply to 61020

    Re: Looks promising I do have a question though.

    hi, Im looking for a way to have textfields for each item to be uploaded in multiple mode in manual upload start. Can this be done? 
View as RSS news feed in XML