Hi All, How to convert files(i.e. txt, video files, .doc ect) into password protected .zip format on wamp/xamp server?
i dont get it.. U cn easily pass protect an archieve during compression (with rar,zip etc) itself and then load it to a server ..
Let me explain requirement I'm working on a project where users download tutorials. tutorials are stored in a directory. when user clicks on download that particular tutorial file should get convert into ZIP format and password should assigned to zip file. how would I do that using PHP on wamp or xamp?
echo system('zip -P pass file.zip file.txt'); The above is not working. No errors are displayed simply shows a blank screen and zip file is not created. Pls let me know if I need to add some other library
I searched in phpclasses.org . I am able to find classes for creating zip files without password protection. Pls let me know the class with password protection
i have a similar request. i saw a site where they allow you to add password to zip files. it means it should be possilbe.
i have a similar request. i saw a site where they allow you to add password to zip files. it means it should be possible.
Why do it so difficult? Just make the .zip-file, and have the user enter a password to get access to download the file instead.