[PHP] Creating ZIP-File with password

2007-11-12 Thread Sebastian Hopfe
Dear PHP-Friends, normaly its my job to find solutions about problems around PHP. Now, i have a problem, that seems to be unsolved in PHP. Actually i create some zip-files and this works fine. $zip = new ZipArchive(); $zip-open(./foo.zip, ZIPARCHIVE::CREATE); $dir = scandir (doc/);

Re: [PHP] Creating ZIP-File with password

2007-11-12 Thread Per Jessen
Sebastian Hopfe wrote: Now, the ZIP-files must be protect. There a important files included. Each site and forum seems to have no solution about this problem. Now, I need a solution or a workarround. Are the some people, who have some ideas? You could just use the zip command line utility

Re: [PHP] Creating ZIP-File with password

2007-11-12 Thread Sebastian Hopfe
Hmmm... its not possible to use this function, because i can't use the command line. now, i will try to crypt my data bevor i insert them into the zip file. but this needs more performance. i will wait for other comments. I will report my solution. regards Per Jessen [EMAIL PROTECTED]