title: How to pass filename to Paypal as value and retrieve the name on success page
body: <p>Is there any way to pass a filename as value to paypal and retrieve the name on success page? I am stuck here.I can successfully retrieve all other fields. Any suggestions for the file please.</p>
  
  <p><strong>Form</strong></p>
  
  <pre><code>&lt;input type="file" name="file"&gt;
  </code></pre>
  
  <p><strong>Success.php</strong></p>
  
  <pre><code>$file=$_FILES['file']['name'];
  $que=mysqli_query($con,"insert into orders(custom_file,date,customerid,status,ship_days) values('$file',CURRENT_TIMESTAMP(),'$user_id','confirmed','$ships')");
  if($que)
  {
  $m=move_uploaded_file($_FILES['file']['name'],'./ServerUploadedFiles/'.$user.$file);
  }
  </code></pre>