note 70201 added to ref.zip
| From: | Mishania at ketsujin dot com | Date: | Fri, 06 Oct 2006 15:39:18 +0000 |
| Subject: | note 70201 added to ref.zip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118130@lists.php.net to get a copy of this message | ||
Notes from phpContrib [ a t ] eSurfers D o t COM are a ROCK!!!
1) In order to make it work U'll probably need:
** Allow Apache service to interact with desktop, but in that case U will notice momentarely
console window opens and closes. That's may be annoying. The elegant solution instead of
allowing interaction is redirect the command to some temporary file, and get rid of it later on:
define('UNZIP_CMD','unzip -o @_SRC_@ -x -d
@_DST_@ > tmpfile.txt');
2) I would recommend to use 7-zip, it's free and completely relyable. Also, it's comes
with stand alone console executable which makes it quite convenient to place it in some exec library
folder within your source, and refferering directly to it.
define("UNZIP_CMD","7za.exe x @_SRC_@ -o@_DST_@ > tmpfile.txt");
----
Server IP: 85.116.0.130
Probable Submitter: 64.229.114.239
----
Manual Page -- http://www.php.net/manual/en/ref.zip.php
Edit -- https://master.php.net/note/edit/70201
Del: integrated -- https://master.php.net/note/delete/70201/integrated
Del: useless -- https://master.php.net/note/delete/70201/useless
Del: bad code -- https://master.php.net/note/delete/70201/bad+code
Del: spam -- https://master.php.net/note/delete/70201/spam
Del: non-english -- https://master.php.net/note/delete/70201/non-english
Del: in docs -- https://master.php.net/note/delete/70201/in+docs
Del: other reasons-- https://master.php.net/note/delete/70201
Reject -- https://master.php.net/note/reject/70201
Search -- https://master.php.net/manage/user-notes.php