Re: Return a ZIP file like this example with an image

2002-01-21 Thread Stephan Tinnemeyer
[EMAIL PROTECTED] wrote: > > But how to do it with a .zip file? > I've tried some different 'content-type' with no success... > Did you try 'application/zip'? Cheers Stephan -- Dipl.-Chem. Stephan Tinnemeyer Lindenallee 20 24105 Kiel Germany -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Return a ZIP file like this example with an image

2002-01-21 Thread thomas . carl . johansson
Hi, I need help to return a winzip-file like I can do with an image like this code. #!/usr/bin/perl $source = "image.gif"; $status = ""; $file = ""; open (IMAGE, "<$source") or $status = "File not found!"; $size = -s "$source"; read (IMAGE, $file, $size); close IMAGE; if ($status