title: get filename of file uploaded through ajax
body: <p>My problem is quite simple.</p>
  
  <p>I am writing an uploader class in php and have decided to include support for ajax uploads.</p>
  
  <p>Using firefox, I detected that a header X-File-Name is sent. I am using a 3rd party javascript library for the uploads, and it sends the filename in a query string to the php script.</p>
  
  <p>What I wish to know is, is there a consistent means of getting the filename like through the X-File-Name that is consistent with all ajax requests or I need users to specify the name of the file.</p>
  
  <p>I can ask users to specify, but I would love to have a consistent method.</p>
  
  <p>Thanks. </p>