I am having trouble trying to get a pdf to open in the browser for the user. I have searched:
and while it looks like it should work, I simply get Failed to Load PDF Document.
This is my code for the page. There is more html below this, however I am looking to get the functionality working first.
<?php
include "header.html";
header('Content-type: application/pdf');
header('Content-Disposition: inline; filename=FLLVolSignUp.pdf');
@readfile('./Supporting_Files/Downloads/FLLVolSignUp.pdf');
?>
I'm running Google Chrome, Adobe reader, and this is a project for school that I am hosting on a IIS server.
If anyone has some insight into how I could get this working, I would really appreciate it, Thanks!