hello…
it depends on the file that you’re downloading – if it’s a file that the browser won’t know what to do with (zip, etc.), then you can just do something like this:
https://sitruc.com/cow/download_file/
however, note on the 2nd word doc link – if you click that in anything but ie, you’ll get the same download dialog as the zip…however in ie (if you have office installed), it will open inline in the browser, which is what you don’t want…
so if you have a file that you want to download that the browser knows, you’ll have to do a separate php file that streams the content in a mime type that the browser is guaranteed to not know, which is application/octet-stream…this is a more complex solution, though, so here’s hoping that you can just the zip example above…
sitruc