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