RE: [PHP] zipfile problems - SOLVED

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

Re: [PHP] zipfile problems

2005-04-07 Thread Josip Dzolonga
Ken wrote: On Apr 7, 2005 1:54 PM, George Pitcher <[EMAIL PROTECTED]> wrote : That's not really an error... that's just a notice... I think everything should be fine with the script. You might want to try turning off error_reporting in php.ini... Or from .htaccess, or directly from the script, t

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 ($handl

Re: [PHP] zipfile problems

2005-04-07 Thread Ken
On Apr 7, 2005 1:54 PM, George Pitcher <[EMAIL PROTECTED]> wrote: > Hi, > > My first posting for a long while. > > If anyone is using the 'class.zipfile.php' library, can they help me. I am > trying to create some PDFs, then zip and email them back to me. > > I get the zipfile but it only contai

RE: [PHP] zipfile problems

2005-04-07 Thread George Pitcher
eorge > -Original Message----- > From: Ken [mailto:[EMAIL PROTECTED] > Sent: 7 April 2005 1:04 pm > To: George Pitcher; php-general@lists.php.net > Subject: Re: [PHP] zipfile problems > > > On Apr 7, 2005 1:54 PM, George Pitcher <[EMAIL PROTECTED]> wrote: > &g