[thelist] MIME type in href?
Joel D Canfield
joel at spinhead.com
Fri Jun 11 12:27:18 CDT 2004
> There are a few tricks that you can use. One is to generate the file
> from a script and then output the required headers to tell
> the browser
> show filetype it is.
>
> Some browsers (read: IE) don't follow the header when it comes to
> detecting the filetype/association. The best trick to get
> around this
> is the generate a url the fools the browser into thinking it is
> downloading the file with the original filename.
>
> eg. http://somehost/someprogram/script.php/filename.ext
I almost understand what you're saying, and it sounds like what I'm
looking for. Can you give me just a bit of step-by-step?
Thanks!
joel
More information about the thelist
mailing list