output string as file
Posted 03 June 2006 - 08:27 PM
Posted 03 June 2006 - 08:33 PM
Does any of that have anything to do with what you're hoping to do?
Posted 03 June 2006 - 09:25 PM
Posted 03 June 2006 - 09:44 PM
I can't help you with that, but now that you've explained what it is you're trying to do maybe someone else will be able to help you.
Posted 04 June 2006 - 12:49 AM
header('Content-type: application/xml'); <- insert whatever application type you are trying to send
header('Content-Disposition: attachment; filename="download.xml"'); <- filename = whatever you want
any content that your script would send to the browser after the header will be sent to the browser as a file to be downloaded.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users