Solved

Unzipping without  zip_open()

Posted on 2006-11-16
2
271 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
Comment Utility
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
Comment Utility
Thanks!
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now