Re: downloading XML file
| From: | Marek Kilimajer | Date: | Tue, 03 Jun 2003 11:37:09 +0000 |
| Subject: | Re: downloading XML file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149935@lists.php.net to get a copy of this message | ||
header('Content-type: application/octet-stream');
Sichta Daniel wrote:
Hi, cfg: php 4.2.3, IIS5.1 I have generated link (from MySQL database) on my web sile, which suppose to allow user to dowload xml file. How can I do this because when I'm just adding name of the file to the href then it will be open in Browser window. How can I make the browser open the "oepn or save" dialog window ? THX PS: I think it has something to do with html header !! Ing. Daniel Šichta EIF AS TIS Siemens Program and System Engineering s.r.o. Bytčická 2 010 01 Žilina tel.: +421 41 505 5889 fax: +421 41 505 5809 < <mailto:Daniel.Sichta@siemens.com>> < <http://www.swh.sk/>> ICQ:84700861