There is no way to FORCE a browser to download a file (security). It will / should always ask first if the mime type is unknown to itself.
Maybe if you could provide more details on what EXACTLY you're trying to accomplish......... Shane -----Original Message----- From: Joćo Borsoi Soares [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 1:16 PM To: [EMAIL PROTECTED] Subject: RE: http download/open files.. OK. But, I want to make a link where the mime type is not considered, to force download. Do you know how to do it? Em Seg, 2003-01-06 ąs 17:29, Daily, Shane, CTR escreveu: > Whether or not the file is opened or downloaded depends on the browser MIME > settings. For example... If I have MS Office installed on my machine (and > I'm browsing with Internet Exploder) and I click on a Word document from > your web site, chances are the word document will open in the browser. I can > bypass this by using the right-click and selecting "save target as". I also > believe you can use the shift-key while clicking the link with a Mozilla > based browser. The browser will typically download a file if it isn't > "aware" of the type of file you click. You may want to read more about MIME > Types. > > Hope that helps. > > > Shane > > -----Original Message----- > From: Joćo Borsoi Soares [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 12:12 PM > To: [EMAIL PROTECTED] > Subject: http download/open files.. > > > Hello, > > Sorry if it's out of topic, but I don't know where I can find an > answere. I'm developing a site in PHP and I need to make links to open > AND download documents. Does anyone knows how can I tell the browser > whether to download or open the files? Or maybe somelinks where I can > find it. > > Thanks, > Joao. > > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list