Unzipping without exec ?

This is a discussion on Unzipping without exec ? within the PHP Language forums, part of the PHP Programming Forums category; Hi all, Does anybody know of a package/solution to unzip files (*.zip, possibly also *.rar, but *.zip is the ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-24-2006
Erwin Moller
 
Posts: n/a
Default 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
Reply With Quote
  #2 (permalink)  
Old 05-24-2006
Kimmo Laine
 
Posts: n/a
Default Re: Unzipping without exec ?

"Erwin Moller"
<since_humans_read_this_I_am_spammed_too_much@spam yourself.com> wrote in
message news:44742617$0$31649$e4fe514c@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
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)


Reply With Quote
  #3 (permalink)  
Old 05-24-2006
Sjoerd
 
Posts: n/a
Default Re: Unzipping without exec ?

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

Reply With Quote
  #4 (permalink)  
Old 05-24-2006
Erwin Moller
 
Posts: n/a
Default Re: Unzipping without exec ?

Kimmo Laine wrote:

> "Erwin Moller"
> <since_humans_read_this_I_am_spammed_too_much@spam yourself.com> wrote in
> message news:44742617$0$31649$e4fe514c@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
Reply With Quote
  #5 (permalink)  
Old 05-24-2006
Erwin Moller
 
Posts: n/a
Default Re: Unzipping without exec ?

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:15 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0