With PHP you could create zip files and even in newest version you could set Password for your zip file. but how I can add new data to the password protected zipped file?
in PHP you could add file to the zipped file without extracting it. but I want to do same for password protected zipped file.
one of the ways is using
Expand|Select|Wrap|Line Numbers
- echo shell_exec('unzip -P password file.zip');
the other way that I was thinking about is:
add a zipped file without any password protection. then I can change the suffix from .zip to something like .jpg.
then server admin could not open it with winzip and winrar or anything like that, but I could not access it via PHP too :D
do you have any suggestion?
thanks a lot
Reza