| 
	
 | 
 Posted by comp.lang.php on 10/13/05 17:55 
I am simply trying to zip together selected files into a single ZIP 
file.  Windows XP doesn't have a native process by which you can do 
this, so I borrowed gzip, downloaded and installed, and upon using it: 
 
<? 
  $msg = exec('gzip -q --suffix .zip '. @join(' ', $fileArray)); 
?> 
 
All of my files named in $fileArray were horribly mangled!! They all 
were converted individually into files with .zip extension that lost 
all of their original data structures. 
 
I was told it was "so easy" to use gzip.. so how do I use gzip? No 
tutorial exists that I can find that even explains gzip; the docs are 
absolutely not helpful and man gzip is not going to happen since I'm in 
Windows and not UNIX ("gzip -h" does not help either, I need a clear 
example of how to compress files together into a single .zip file, like 
what WinZip does). 
 
Help! 
 
Thanx 
Phil
 
  
Navigation:
[Reply to this message] 
 |