In a nutshell I have a CGI script which creates a TAR file dependent on the inputs.
What I want to happen is when the script is run it returns the tar file, as if it has been downloaded from the server. I know I need to first print the correct HTTP header, however the file is always named of that of the script. I want it to be called as something of my choice such as serialise.tar instead of serialise.cgi. Is there a module that takes care of this, CGI.pm's manpages don't seem to mention anything !!!
I may just be being a muppet but any help thankfully received.