Web Hosting Talk







View Full Version : Online Unzip Capability


gate2vn
01-29-2004, 08:49 AM
How can I install Online Unzip Capability feature on Linux box? I see some website have this feature like www.1asphost.com www.domaindlx.com but dont know how they do. and it seems that only windows platform? how will I do on Linux platform?

please help. Thanks

loopforever
01-29-2004, 10:22 AM
I doubt you allow your client's scripts to execute system functions, but if you do, consider:

http://packages.debian.org/unstable/utils/unzip

And just letting them call it via their scripts. Otherwise, for PHP scripts (not sure about libraries for other languages), you can use PHP's built-in zip functions (read only - check the website) or:

http://www.phpconcept.net/pclzip/index.en.php

For reading/writing if you have PHP compiled with zLib.

Hope this helps :).

gate2vn
01-29-2004, 12:41 PM
ok, so I need to install a zip/unzip software in my box, then write a script and ask my clients run it, is that right? Is there anyway it can run automatically?

thanks