Can You Pass Protect Your Zip Files Using PHP5

Discussion in 'PHP' started by Storm-Crow, Aug 28, 2007.

Thread Status:
Not open for further replies.
  1. #1
    Pretty straight forward! Is it possible to create zip archives of multiple files located in the server along with password protection with PHP5. Please share your knowledge on the same. Some example codes would be great too :)
     
    Storm-Crow, Aug 28, 2007 IP
  2. neelesh

    neelesh Peon

    Messages:
    141
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think your server must have gzip enabled for you to use zip option and password protecting i don't think it is possible
     
    neelesh, Aug 28, 2007 IP
  3. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm not sure if the zip support in PHP (or with PECL) allows for passwords, but you can always run command line programs from a PHP script with exec();
     
    Gordaen, Aug 28, 2007 IP
Thread Status:
Not open for further replies.