Re: About File_Archive...
| From: | Mos | Date: | Sun, 20 Mar 2005 13:15:02 +0000 |
| Subject: | Re: About File_Archive... | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18170@lists.php.net to get a copy of this message | ||
"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 ?
Mos