How do I open a PDF document using php script
Moderator: General Moderators
How do I open a PDF document using php script
I currently have a hyperlink on my website that links to a PDF document. However, when you click on a hyperlink it actually creates a copy of the file and displays it. I want to be able to open the actual file itself, not a copy of it. Is this possible using PHP? Thanks!

-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA
Let me rephrase...
I currently have a hyperlink on my website that links to a PDF document. However, when you click on a hyperlink it actually creates a copy of the file and opens it. I want to be able to open the actual file itself, not a copy of it. Is this possible using PHP?
In other words, I want to open the pdf file that is on the server. A hyperlink opens a copy of the file and not the file itself. Does that clear it up at all? Thanks.
I currently have a hyperlink on my website that links to a PDF document. However, when you click on a hyperlink it actually creates a copy of the file and opens it. I want to be able to open the actual file itself, not a copy of it. Is this possible using PHP?
In other words, I want to open the pdf file that is on the server. A hyperlink opens a copy of the file and not the file itself. Does that clear it up at all? Thanks.
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA