I create a png dynamically - store the path in mysql.
And want to be able to offer the user a zipped version to download
Unfortunately haven't been able to get it to work up until now !
I'm sure it's something obvious but...........
Open the png
$data = fopen('kunden/'.$name.'.png', "rb");
$gzdata = gzencode($data);
where to write
$fp = fopen('kunden/zip/'.$name.'.gz', "w");
what happens is the name gets included in the gz but written to it is only
Can anyone help ??
thanks in advance
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]