alright, I'm being unclear. I'll try to be simple
1. user uploads zip in a form
2. on form submit (action=site.cgi) zip is processed using some external program
3. the output of the external program can be either a zip or HTML (raw output, not a file)
4. if I just do "print $my_program_output", the html output will reload/replace the page, but the zip will just present a zip file for download without reloading the page behind it (this works fine, without having to write the output to a file)
here's my problem: In the case of the zip file, I want to refresh the original page (or have access to its content with javascript), but I don't know how to do that. And I want to avoid having to open a new file and write to it.
|