PHP compressed file password
PHP implements file compression and I want to add a password.
As far as I know, using system commands can be implemented. PHP self-expanding can support compressing files and directories, but I don't know how to add a password.
Thank you.
By the way, I have attached an outstanding Post. I hope someone can give me some comments. thank you.
Http://bbs.csdn.net/topics/390755609
Reply to discussion (solution)
system("rar.exe a -p123456 e:\cheshi.rar e:\cheshi.txt");
Whether rar.exe is a system environment variable (or an absolute address)
system("rar.exe a -p123456 e:\cheshi.rar e:\cheshi.txt");
Whether rar.exe is a system environment variable (or an absolute address)
This .... Do you not need to call the system? Javascript does not exist.
system("rar.exe a -p123456 e:\cheshi.rar e:\cheshi.txt");
Whether rar.exe is a system environment variable (or an absolute address)
This .... Do you not need to call the system? Javascript does not exist.
Give up
For inter-server transmission, you can perform different or encrypted processing on the zip file, and then encrypt the key or decrypt it at the receiver.
Reference: http://blog.csdn.net/fdipzone/article/details/14048207