RE: [PHP-WIN] More bzip woes! No file written...

2002-07-09 Thread Mikey
Ooops! The code was slightly different - see ammendments below... // $data = file ("$filename.tar"); $data = implode ("", file ("$filename.tar")); $bz = bzopen ("$filename.bz2", "w"); bzwrite ($bz, $data); bzclose ($

[PHP-WIN] More bzip woes! No file written...

2002-07-09 Thread Mikey
Hi ng! Well, I have finally managed to make my archive (thanks to being set on the right track by this ng), yet I am having a problem using the bz2 functions... The code I am using to make the compressed file is as follows: $data = file ("$filename.tar"); $bz = b