NYCPHP Meetup

NYPHP.org

[nycphp-talk] Anyway to force a download of GIF file?

DeWitt, Michael mjdewitt at alexcommgrp.com
Thu Jul 17 10:43:50 EDT 2003


I have been looking around for a way to get browsers to download rather than
display a GIF file.  I have tried playing with the TYPE attribute, but it
seems to be ignored in favor of the file's actual extension.  Yes, I could
zip the file, but would rather avoid that as well, since my customers will
find it confusing (believe me).

Any ideas of how to structure a link to fool the browser into starting a
download dialog?

Thanks in advance.

Mike




More information about the talk mailing list