What you are seeing in the browser IS the zip file. The PK blah bit is the standard zip header - have a look at a zip file with a text editor.
Anyway the reason you see the file as a text file is because you script is not sending a header your browser understands or your browser does not know how to deal with application/zip MIME type and defaults to text. Depending on how you look at it.
Change the header type sent by your script to 'application/octet-stream' and it should work fine. If not get a decent browser. What are you using?
cheers
tachyon
In reply to Re: question about a reply to the Zip::Archive post
by tachyon
in thread question about a reply to the Zip::Archive post
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |