how to use pclzip class

From: Date: Sat, 25 Oct 2003 06:38:12 +0000
Subject: how to use pclzip class
Groups: php.general 
Request: Send a blank email to php-general+get-167525@lists.php.net to get a copy of this message
Hi, all -- The pclzip documentation is woefully slim, or at least it is for those of us who don't speak French, and I don't know much about class programming anyway. I got the sucker downloaded and am require()ing it (I will later go and be a little more graceful about it) but my feeble attempt at $z = new PclZip ; failed with Warning: Missing argument 1 for pclzip() in .../pclzip.lib.php on line 160 and so I'm scratching my head. I want to be able to catch an uploaded zip file and walk through it, extracting each file (in order, which is important) and saving it under a name I specify (no, the original name doesn't matter, just the order). Any pointers or help would be appreciated :-) TIA & HAND :-D -- David T-G * There is too much animal courage in (play) davidtg@justpickone.org * society and not sufficient moral courage. (work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

« previous php.general (#167525) next »