FW: [PHP-WIN] More bzip woes! No file written...
| From: | Mikey | Date: | Thu, 11 Jul 2002 11:51:39 +0000 |
| Subject: | FW: [PHP-WIN] More bzip woes! No file written... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107102@lists.php.net to get a copy of this message | ||
I know it is cross-posting, but I thought I might get an answer here...
TIA,
Mikey
> -----Original Message-----
> From: Mikey [mailto:mikey@splatted.net]
> Sent: 09 July 2002 19:51
> To: php-windows@lists.php.net
> 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
>
>
>
>