Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2002071

RE: [PHP-WIN] More bzip woes! No file written... From: Mikey (mikey <email protected>)
Date: 07/09/02

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