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 = file ("$filename.tar");
                $bz = bzopen ("$filename.bz2", "w");
                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

Reply via email to