title: How to handle images sent by a mobile device?
body: <p>A peer of mine is developing an iPhone application that will allow users to post images on my site via my API. I am building the part of the API that will accept and process the images.</p>
  
  <p>The mobile developer is sending headers like such:</p>
  
  <pre><code>Content-Disposition: form-data; name="photo_1"; filename="photo_1.jpg"
      Content-Type: application/octet-stream
  </code></pre>
  
  <p>When looking for the images sent, is it the same method as with normal HTML forms? Should I look for $_FILES?</p>
  
  <p>Or, using PHP, how would I find his image?</p>