You want to know how to open a PDF that resides on the server in a client
browser, right?
You should be able to do that with a simple a href=pathtoyour.pdf
target=_blankClick Here/a link. You can change the target to open a new
window or replace the current window or whatever suits your needs.
OK. So if I understand corectly, a link with the path to the file on the
server will work. How do I have a new browser opened displaying the PDF
more or less automatically, ie, without the user clicking anything? Is
this a Header() function?
David
Yes, you've got it so far. To open another browser window automatically, you
just use the target=_blank attribute that I listed in the example in the
previous e-mail. That will spawn a new browser window with the PDF file in
it and leave the original browser window open.
If you need something
Richard and Karen,
Thanks for your help this morning with my PDF question. I created the link
dynamically as you suggested.
In retrospect, I also think that I was seeking a javascript solution,
i.e., now that the PDF file exists on the web server :
?php
$openPDF = SCRIPT