Solved

Unzipping without  zip_open()

Posted on 2006-11-16
2
273 Views
Last Modified: 2012-06-27
Hello,

I need to extract the files from a zip file using a PHP script (version 4.3.10).

I tried to use this: zip_open()

But get an error:  
         Fatal error: Call to undefined function: zip_open()

I do NOT have shell or root access to this server so I cannot install zziplib.

Are there any other options?  Maybe a PEAR package or something?
0
Comment
Question by:hankknight
2 Comments
 
LVL 19

Accepted Solution

by:
VoteyDisciple earned 500 total points
ID: 17956041
I just went through exactly the same thing myself and settled on this library: http://www.phpconcept.net/pclzip/index.en.php

I have not tried creating zips with this (I don't happen to need to for this project), but I have opened and extracted zip files without any trouble.
0
 
LVL 16

Author Comment

by:hankknight
ID: 17956393
Thanks!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
curl SSL certificate unable to get local issuer certificate 15 70
php string detection problem 7 34
comma true 6 33
How can I make this form submit to itself? 10 27
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question