Re: About File_Archive...

From: Date: Mon, 21 Mar 2005 18:14:17 +0000
Subject: Re: About File_Archive...
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18204@lists.php.net to get a copy of this message
On Sun, 20 Mar 2005 14:15:02 +0100, Mos <mos_fr@yahoo.fr> wrote: > > "Mos" <mos_fr@yahoo.fr> a écrit dans le message de > news:20050320130825.26911.qmail@lists.php.net... > > Does anybody use PEAR::File_Archive module ? (0.1 or 0.2 version) > > > > I have an error when I put just an require or require_once instruction.... > > > > What module or function do you use to compress a full directory (recursed > > inside) to get a ZIP archive when you do not know how many files are saved > > in before ? > > > > Thanks > > > > Mos > > It is seems to be a problem with delcalration of function : in the archive > file the author set : > function read($URL, $symbolic = null, $uncompression = 0, > $directoryDepth = -1, &$source = null) > > It seems php does not like this & before &$source... without there is any > error. > (same thing on other lines...) > > Does anybody can explain me if it is a problem of PHP version or a problem > of coding ? > Interesting...File_Archive claims to be PHP 4 compatible, yet that syntax is PHP5 only. -- Justin Patrin

« previous php.pear.general (#18204) next »