Reply to PHP 4+ - 5.0.4, Windows XP and Gzip - HELP

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация