Solved

Unzipping without  zip_open()

Posted on 2006-11-16
2
272 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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 look for a specific file type in a local or remote server directory using PHP.

896 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

14 Experts available now in Live!

Get 1:1 Help Now