gz compressor

Discussion in 'PHP' started by promotingspace.net, Feb 4, 2008.

  1. #1
    hi
    you know linux hosts do not unzip zip files but gz files. I have a zip package and it is not extracted correctly when I rename it to a gz file. what is the solution?
     
    promotingspace.net, Feb 4, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Most cPanel hosts have an unzipping feature, also, if you have SSH you can use the unzip command, or get a PHP script to unzip it for you (there are probably some readily available on PHP Classes.org)

    Jay
     
    jayshah, Feb 4, 2008 IP
  3. promotingspace.net

    promotingspace.net Peon

    Messages:
    361
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    my problem is zipping not unzipping. the zipping feature in cpanel does not code the files properly it seems.
    another problem is that the linux host is not verifying zip file types but only gz files
     
    promotingspace.net, Feb 4, 2008 IP