title: converting blob image to file in php
body: <p>I'm currently using a simple $_FILES upload script to upload pictures from my iPhone app to server.  The image sizes, however, are large and I'd like to resize them before sending the image to the server. </p>
  
  <p>The downside of this, however, is that the resize function converts them to "blob" images (which, as I understand it, is a way of storing the image in the database).  I'd prefer to save the files directly to the filesystem.  How would I go about converting a blob back into a $_FILE or finding a script that saves blob images to disc??</p>
  
  <p>Thank you!</p>