php-windows | 2002071
Date: 07/09/02
- Next message: kalmen: "[PHP-WIN] need help caching problems!"
- Previous message: Alexandr Polupanov: "[PHP-WIN] Re: File Upload Problem"
- In reply to: Mikey: "[PHP-WIN] More bzip woes! No file written..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: kalmen: "[PHP-WIN] need help caching problems!"
- Previous message: Alexandr Polupanov: "[PHP-WIN] Re: File Upload Problem"
- In reply to: Mikey: "[PHP-WIN] More bzip woes! No file written..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

