note 72449 added to function.zip-open

From: Date: Fri, 19 Jan 2007 05:10:14 +0000
Subject: note 72449 added to function.zip-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-121911@lists.php.net to get a copy of this message
On our server (FreeBSD) we just used the command: <?php $cmd = 'unzip -j test.zip'; exec($cmd); ?> that worked fine (open the zip file and extracted the files within. Or is that just too simple? :-) Note that you need to set the file permissions (see chmod). We wasted a lot of time there! ---- Server IP: 69.147.83.197 Probable Submitter: 58.105.224.181 ---- Manual Page -- http://www.php.net/manual/en/function.zip-open.php Edit -- https://master.php.net/note/edit/72449 Del: integrated -- https://master.php.net/note/delete/72449/integrated Del: useless -- https://master.php.net/note/delete/72449/useless Del: bad code -- https://master.php.net/note/delete/72449/bad+code Del: spam -- https://master.php.net/note/delete/72449/spam Del: non-english -- https://master.php.net/note/delete/72449/non-english Del: in docs -- https://master.php.net/note/delete/72449/in+docs Del: other reasons-- https://master.php.net/note/delete/72449 Reject -- https://master.php.net/note/reject/72449 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121911) next »