Hi all,
We are transferring pdf files upon browser request.
We would like to cause the pdf to open in Adobe without the remote user having to make any keypresses.
Some file transfer methods cause Adobe to open automatically and other methods put up a security window forcing the user to make more keypresses.
So far, if we use header("Location: " .$FilePathVirtual); for example, we get the result we want.
If we use print(fread($handle, 1024*8)); in a loop, the security window displays first.
What are some other methods to get the file to load automatically and does anyone know why these two styles behave differently?
Thanks