Click to See Complete Forum and Search --> : Code for download wanted


Allan
05-06-2003, 02:53 AM
Usually when a user clicks on a URl which is (say) a PDF file - the browser will open the download if the plugin is loaded otherwise it offers download and save.

If a user wants only to 'save' they must use a right click option.

I want the user to always download without opening, and without the need for the user to know about right click.

It must work in all version of IE since 5 and Netscape since 4

Anyone got any ideas?

requestcode
05-06-2003, 06:46 AM
You will need to use a Server Side script for this such as Perl or PHP. JavaScript cannont do this.