Is there a way to apply a password along with zipping files on a web server using PHP? And can you also RAR files using PHP?
Yes, http://forums.devshed.com/php-devel...ord-protected-zip-files-using-php-550248.html No, you can't create RAR files using php.
There is an easier way to do this. Since PHP 5.3 there is PHAR (PHp ARchive) library built into PHP core. You can uset it to create .phar files, but also it allows to create tar archives and zip's as far as i remember.
Thanks, qprojects, I shall try it out. And, Greg Carnegie, i actually was asking how to add password along with zipping the files.