On Mon, Apr 23, 2001 at 12:06:06PM +0100, Jon Galliers wrote:
> The main problem is that the zipped file downloads as "NameOfCGIFile.zip" 
> and not "download.zip".

I think you might like to have a look at the Content-Disposition MIME
header.

Something like this:

print "Content-type:application/x-zip-compressed\n" .
          "Content-Disposition: attachment; filename=$file\n\n";

-- 
Niklas Nordebo -><- [EMAIL PROTECTED] -><- +447966251290
 "The day is seven hours and fifteen minutes old, and already it's
crippled with the weight of my evasions, deceit, and downright lies"

Reply via email to