title: Uploading pdf files to Mysql server
body: <p>I am unable to upload the pdf documents that are created using Photoshop and PDFTK. Other pdf documents are getting uploaded without any problem.</p>
  
  <p>I am getting the following warning:</p>
  
  <blockquote>
    <p><code>fread()</code>: supplied argument is not a
    valid stream resource in </p>
    
    <p>Warning: <code>fclose()</code>: supplied argument
    is not a valid stream resource</p>
  </blockquote>