Re: [PHP] downloading XML file

2003-06-03 Thread Marek Kilimajer
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

[PHP] downloading XML file

2003-06-03 Thread Sichta Daniel
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