SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2005
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Zip or Rar files

    I know php can read some compressed files, but I am not sure php can build a zip or rar file. I would like to make my script build a backup zip or rar file...

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Ankara/Turkey
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://pear.php.net/package/Archive_Tar
    http://pear.php.net/package/Archive_Zip

    scan these two pear classes. you can find how you can do it.

  3. #3
    SitePoint Member
    Join Date
    Oct 2005
    Location
    Norway
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try this: http://www.smiledsoft.com/demos/phpzip/

    If you want a script that makes a rar file you can either download the command-based winrar and create a script with that or google it...

    EDIT: Didn't see the other post about the pear packages


Bookmarks

Posting Permissions

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