custom download box

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hame22
Forum Contributor
Posts: 214
Joined: Wed May 11, 2005 5:50 am

custom download box

Post by hame22 »

Hi

My website offers downloads in the form of a PDF. At present when a user clicks to download the standard download dislog box pops up offering user to "open", "save" and "cancel".

Now my PDF's are restricted so I have put them in a folder in front of the the root directory of the site so a user cannot "open" the file they must "save". Although I have given users many instructions to save and not open (Including a page where Save is highlighted in red and 4 X the size of any other content!) users are still pressing the open button and complaining when an error appears.

Is there anywya to sort this out, perhaps produce my own custom download box??

Would really appreciate any input

Thanks in advance.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Nope, no way to control the download dialog box
hame22
Forum Contributor
Posts: 214
Joined: Wed May 11, 2005 5:50 am

Post by hame22 »

ok i thought that would be the case, and i'm guessing there is no way to by-pass it?
Post Reply