title: how to pass custom values in uploadify
body: <p>in uploadify How to pass user input values to uploadify.php 
  here is my code:</p>
  
  <pre><code>           $(function() {
  
      $('#file_upload').uploadify({
      'buttonText' : 'BROWSE...',
      'method'   : 'post', 
      'height'   : 50, 
      'buttonCursor' : 'hand',
      'fileSizeLimit' : '100KB', 
      'formData' : {
      'title' :$('input:text[name:title]').val(),
      'about' :$('input:text[name:about]').val() },
      'auto'     : false,
      'swf'      : 'uploadify.swf',
      'checkExisting' : 'check-exists.php',
      'uploader' : 'uploadify.php',
      'onUploadSuccess' : function(file, data, response) {
      $("#message").css("display","block");
      $("#message").text("upload process completed successfully");
      setTimeout(function() {
      $('#message').fadeOut('fast');
  }, 5000);
      }, 
  
      'onUploadError' : function(file, errorCode, errorMsg, errorString) {
         alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
      }  
  });
  
  
  
      });
      &lt;/script&gt;
      &lt;/head&gt;
  &lt;?php include("includes/connection.php");?&gt;
      &lt;body&gt;
          &lt;div id="page"&gt;
              &lt;div id="header"&gt;
                  &lt;h1&gt;Photogallery&lt;/h1&gt;
       &lt;?php  include("includes/navigation.php"); ?&gt;
              &lt;/div&gt;&lt;!--header--&gt;
  
              &lt;div id="content"&gt;
  
                  &lt;div id="left"&gt;
  
  &lt;div id="message"&gt;
  &lt;/div&gt;
  &lt;?php
  
   ?&gt;     
  
   &lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;P&gt;Title:&lt;/P&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;input type="text" value="" name="title" id="idtitle" /&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;p&gt;About:&lt;/p&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;p&gt;&lt;input type="text" value="" name="about"  /&gt;  &lt;/p&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              Select Photos you want to Upload
          &lt;/td&gt;
          &lt;td&gt;
              &lt;input type="file" name="file_upload" id="file_upload" /&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
   &lt;/table&gt;           
  
  
  &lt;a href="javascript:$('#file_upload').uploadify('cancel')"&gt;Cancel First File&lt;/a&gt; | &lt;a href="javascript:$('#file_upload').uploadify('cancel', '*')"&gt;Clear the Queue&lt;/a&gt; | &lt;a href="javascript:$('#file_upload').uploadify('upload', '*')"&gt;Upload the Files&lt;/a&gt;
  
  
  
                  &lt;/div&gt;&lt;!--left--&gt;
  </code></pre>
  
  <p>Here is my uplodify.php file</p>
  
  <pre><code>   &lt;?php
  require_once("includes/connection.php");
  
  $targetFolder = '/workbench/sudeepc/photogallery/uploads' ; 
       $title=$_POST['title'];
       // $title="testtitle";
       $about=$_POST['about'];    
  if (!empty($_FILES)) {
      $tempFile = $_FILES['Filedata']['tmp_name'];
      $targetPath = $_SERVER['DOCUMENT_ROOT'] . $targetFolder;
      $targetFile = rtrim($targetPath,'/') . '/' . $_FILES['Filedata']['name'];
  
      // Validate the file type
      $fileTypes = array('jpg','jpeg','gif','png'); // File extensions
      $fileParts = pathinfo($_FILES['Filedata']['name']);
  
  
  
      if (in_array($fileParts['extension'],$fileTypes)) {
          move_uploaded_file($tempFile,$targetFile);
  
  $query="INSERT INTO `photo` ( `id` , `path` , `uname` , `title` , `about` , `date` )
  VALUES ('','${targetFile}','uname','${title}','${about}',now())";       
  
   /*
   $query="INSERT INTO `photo` ( `id` , `path` , `uname` )
   VALUES ( '','${targetFile}', '${title}');";
   */
   mysql_query($query,$connection);
  
  
      } else {
          echo 'Invalid file type.';
      }
  }
  ?&gt;
  </code></pre>
  
  <p>I want to pass title as well as about for each uploads and when user select more than one picture user can enter title and about for each one. How can I resolve this problem?</p>