I am creating an xml file on the fly. When a user generates this file I want it to open up a download file dialog with the content that was generated. There is no actual file because it is just generated through php. Any ideas on how to do this?
You obviously didnt read my post. There is no actual file to read. It is just sent to the page and I do not want to create a file just be able to download what it generates.
ngreenwood6
2010-04-23 06:00:07
@ngreen you obviously didn't read the linked article. set the said header and echo out the xml data.
Amarghosh
2010-04-23 06:06:37
oh nice I thought you actually had to assign it that file...thanks for the info
ngreenwood6
2010-04-23 06:14:40