Results 1 to 1 of 1
  1. #1
    Join Date
    Jan 2005
    Posts
    362

    Unanswered: zip with command line

    I want to create a zip file with command line via php.
    I use yiiframework.
    I write
    Code:
    echo exec('zip -P pass /var/www/files/file.zip 
    /idrs/Backups/User3/snapshots/files/τεστ.txt');
    But it does not work.
    How can I do this?
    Dimis
    Last edited by dimis2500; 11-06-09 at 07:13.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •