I know it is cross-posting, but I thought I might get an answer here...

TIA,

Mikey

> -----Original Message-----
> From: Mikey [mailto:[EMAIL PROTECTED]]
> Sent: 09 July 2002 19:51
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] More bzip woes! No file written...
> 
> 
> 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 = implode ("", file ("$filename.tar"));
>               $bz = bzopen ("$filename.bz2", "wb");
>               bzwrite ($bz, $data);
>               bzclose ($bz);
> 
> (The tar file has been created previously in the script.)
> I have checked permissions on the directory in question (I have 
> even opened
> them wide up for dev purposes) and yet the script fails withthe following
> error:
> 
> Warning: bzopen(): Unable to open file in
> e:\apache\splatted.net\download_basket.php on line 53
> 
> Has anyone here got any ideas?
> 
> regards,
> 
> Mikey
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> 


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

Reply via email to