force download of a generated file
I am trying to make a script output some data as a file that is asked to download. This is how VB appears to do it (modified for my purpose)
but it does not seem to work. The results seem to depend on browser. Someone using IE4 said that $download just showed up in the browser and using NS6 they were asked to save the file that this php code appears in.
Nothing is being echoed before the code above.