I am trying to add a link on my website so that if someone clicks it, it will automatically start downloading. Can you please give me an example of what I would have to type? Thank you
Well you either link directly to the file like so: http://www.mysite.com/downloads/file.zip Code (markup): Or you can use a PHP script to return the contents of a file and then force the browser to download it. If you want the PHP way just ask and I'll give you sample source.
Im sure with all the security concerns these days you cannot start a download going automatically. You could link it to a file to prompt a user to click save or open but not sure about the automatic download
Just do what I said then: <a href="www.mysite.com/path/to/file.zip">Click to download</a> Code (markup):