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 ($bz);

doh!

Mikey



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to