Solved

Unzipping without  zip_open()

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
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.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

821 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