NYCPHP Meetup

NYPHP.org

[nycphp-talk] unziping files throug php

Adam Maccabee Trachtenberg adam at trachtenberg.com
Wed Sep 24 00:20:42 EDT 2003


On Tue, 23 Sep 2003, Alexander Chan wrote:

> I am not sure what would be the best way of doing the
> following.  I have a php script that will take a HTTP
> uploaded zip file and and uncompress it. I am not sure
> if  i should just do exec('gunzip $filename'); . Is
> there a cleaner way?

Depending on what you want to do with the file after you uncompress
it, you may want to check out: <http://www.php.net/zlib>.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!




More information about the talk mailing list