473,395 Members | 1,471 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Unzipping without exec ?

Hi all,

Does anybody know of a package/solution to unzip files (*.zip, possibly also
*.rar, but *.zip is the most urgent) WITHOUT calling exec?

A friend of mine is working in an environment in safemode without access to
zip. (The ISP make no exception for zip)

Are there packages around that can unzip without using a systemcall?

Any solutions, ideas?

TIA!

Regards,
Erwin Moller
May 24 '06 #1
4 1617
"Erwin Moller"
<si******************************************@spam yourself.com> wrote in
message news:44***********************@news.xs4all.nl...
Hi all,

Does anybody know of a package/solution to unzip files (*.zip, possibly
also
*.rar, but *.zip is the most urgent) WITHOUT calling exec?

A friend of mine is working in an environment in safemode without access
to
zip. (The ISP make no exception for zip)

Are there packages around that can unzip without using a systemcall?

Any solutions, ideas?


I assume you are aware of the php built-in zip library, but just in case
not, check it out: http://php.net/manual/en/ref.zip.php

--
"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
sp**@outolempi.net | Gedoon-S @ IRCnet | rot13(xv***@bhgbyrzcv.arg)
May 24 '06 #2
Erwin Moller wrote:
Does anybody know of a package/solution to unzip files (*.zip, possibly also
*.rar, but *.zip is the most urgent) WITHOUT calling exec?


http://pear.php.net/search.php?q=zip

May 24 '06 #3
Kimmo Laine wrote:
"Erwin Moller"
<si******************************************@spam yourself.com> wrote in
message news:44***********************@news.xs4all.nl...
Hi all,

Does anybody know of a package/solution to unzip files (*.zip, possibly
also
*.rar, but *.zip is the most urgent) WITHOUT calling exec?

A friend of mine is working in an environment in safemode without access
to
zip. (The ISP make no exception for zip)

Are there packages around that can unzip without using a systemcall?

Any solutions, ideas?


I assume you are aware of the php built-in zip library, but just in case
not, check it out: http://php.net/manual/en/ref.zip.php


Thanks.

As you guessed: This is new to me. ;-)

I see it needs a PECL extension.
I expect this is no problem.

Thanks, I should have find that one myself. (Erwin slaps himself).

Regards,
Erwin Moller
May 24 '06 #4
Sjoerd wrote:
Erwin Moller wrote:
Does anybody know of a package/solution to unzip files (*.zip, possibly
also *.rar, but *.zip is the most urgent) WITHOUT calling exec?


http://pear.php.net/search.php?q=zip


thanks Sjoerd,

I should have typed zip into the searchbox.
Me stupid. :P

Thanks,

Regards,
Erwin Moller
May 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Google Mike | last post by:
Of course, one could always use other kinds of encryption/encoding/obfuscation techniques such as XOR complement, but this example provides an extremely secure version using methods like Blowfish,...
7
by: thewhoracle | last post by:
I have a C# application that essentially builds batch and text files and runs them from the command line, but i need to unzip something from the command line. What i need is either an unzipping...
0
by: stjulian | last post by:
On Windows Server 2003, IIS 6 I am looking for an unzipping component. I have a series of files that are available zipped at a considerable decrease in size. And before ASPINET fails on a script...
4
by: Schüle Daniel | last post by:
Hello group, >>> lst= >>> for i in range(10): .... lst.append(eval("lambda:%i" % i)) .... >>> lst() 0 >>> lst() 1
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 with Apache 2 on Linux. I have a PHP function to unzip a file, but I would like the resulting unzipped file with all its sub-directories and files to have the same...
0
by: avik1612 | last post by:
Hi, I have created a program to unzip the file. It is unzipping the zip files when put in directory i.e folder inside folder but when i create a zip file without putting in a folder and try to...
1
by: kss | last post by:
Hey all, I am new to python and I need to unzip a zip file which is password protected. I tried using zipfile class. Aparently, when i try doing a zip.read(filename), it throws an exception stating...
1
by: deepakd | last post by:
Hi I'm using wxZipInputStream for unzipping a zipped ".app" file in MAC OS.After unzipping i am not able to run the app.When i manually copy the unix executable to app packages, I am able to run...
0
by: salavatomas | last post by:
create function dbo.fnc_varchar_columns_alltrim () returns @vysledek table ( tabulka sysname null, sloupec sysname null, pocet_zaznamu int null, datovy_typ varchar(256) null ) as
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.