title: how can I display a pdf retrieved using file_get_contents in php?
body: <p>I want to display, embedded in the HTML, a pdf file which is in a directory up to the document root.</p>
  
  <p>Document root points to /var/www/web1/web and the pdf file is in /var//www/web1/docs/pdf, so I can't point it from the html.</p>
  
  <p>I'm using PHP and I tried some suggestions like get_file_contents, base64_encode, .... but didn't worked.</p>
  
  <p>All examples I find are to make download the pdf or to convert it into a jpg, but this is not what I need.</p>
  
  <p>Any suggestions?</p>