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

2005-04-07 Thread George Pitcher
: Re: [PHP] zipfile problems 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

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 contains the

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 =

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,