Demonic Posted April 7, 2007 Share Posted April 7, 2007 I was looking @ the manual and it says you need that module for it: The bundled PHP 4 version requires » ZZIPlib, by Guido Draheim, version 0.10.6 or later Is there an alternative to doing this? Link to comment https://forums.phpfreaks.com/topic/46013-how-do-you-unzip-a-file-in-php-4/ Share on other sites More sharing options...
Demonic Posted April 7, 2007 Author Share Posted April 7, 2007 Bump Link to comment https://forums.phpfreaks.com/topic/46013-how-do-you-unzip-a-file-in-php-4/#findComment-223757 Share on other sites More sharing options...
daffy duck Posted April 8, 2007 Share Posted April 8, 2007 if you have unzip installed on your server then you can do something like... exec("unzip filename.zip"); Link to comment https://forums.phpfreaks.com/topic/46013-how-do-you-unzip-a-file-in-php-4/#findComment-223892 Share on other sites More sharing options...
Demonic Posted April 8, 2007 Author Share Posted April 8, 2007 Where can I find all the exec commands? Link to comment https://forums.phpfreaks.com/topic/46013-how-do-you-unzip-a-file-in-php-4/#findComment-223920 Share on other sites More sharing options...
trq Posted April 8, 2007 Share Posted April 8, 2007 Where can I find all the exec commands? What do you mean? You want to find all the commands available through exec()? You could try.... <?php $out = shell_exec('ls /bin;ls /usr/bin'); echo $out ?> Link to comment https://forums.phpfreaks.com/topic/46013-how-do-you-unzip-a-file-in-php-4/#findComment-223923 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.