Posted by John Dunlop on 11/07/06 14:05
Vertuas:
> Is there a way to get PHP to change the mime type for a file sent to a
> browser.
header('Content-Type: example/*')
> I need my website viewers to be able to click a link to directly download
> and save an image, rather than the browser displaying it.
Why?
> Is there some other way to make this happen?
Look up Content-Disposition, but don't hold your breath.
--
Jock
Navigation:
[Reply to this message]
|