RE: [PHP] zipfile problems - SOLVED

2005-04-08 Thread Allan, David (ThomasTech)
-Original Message- snip 08while (false !== ($file = readdir($handle))){ 09$fn = explode(.,$file); 10if ($fn[1]==pdf){ 11echo $inputpath.$file.br; 12$handle = fopen($inputpath.$file,r); 13

RE: [PHP] zipfile problems - SOLVED

2005-04-07 Thread George Pitcher
Hi all, I found the cause of the problem. 01 $zipfile = new zipfile(); 02 $zipfile - add_dir(dir/); 03 $inputpath = C:\\Program Files\\Apache 04 Group\\Apache2\\htdocs\\egretgui\\includes\\invoices\\; 05 $outputpath = C:\\; 06 $outfile = $outputpath.inv_.date(Y_m)..zip; 07 if ($handle =