[PHP] Autorename extracted files from zip-archive

2011-01-19 Thread Merlin Morgenstern
Hello, I am using shell_exec to uncompress zip files which works fine, but has one big problem. Whenever the zip-archive containes an already existing file name, it will overwrite the current one. I need the file to be extracted and autorenamed. This is the code line: $output =

Re: [PHP] Autorename extracted files from zip-archive

2011-01-19 Thread Daniel Brown
On Wed, Jan 19, 2011 at 09:06, Merlin Morgenstern merli...@fastmail.fm wrote: Hello, I am using shell_exec to uncompress zip files which works fine, but has one big problem. Whenever the zip-archive containes an already existing file name, it will overwrite the current one. I need the file to

RE: [PHP] Autorename extracted files from zip-archive

2011-01-19 Thread Tommy Pham
-Original Message- From: Merlin Morgenstern [mailto:merli...@fastmail.fm] Sent: Wednesday, January 19, 2011 6:06 AM To: php-general@lists.php.net Subject: [PHP] Autorename extracted files from zip-archive Hello, I am using shell_exec to uncompress zip files which works fine

Re: [PHP] Autorename extracted files from zip-archive

2011-01-19 Thread Richard Quadling
On 19 January 2011 14:06, Merlin Morgenstern merli...@fastmail.fm wrote: Hello, I am using shell_exec to uncompress zip files which works fine, but has one big problem. Whenever the zip-archive containes an already existing file name, it will overwrite the current one. I need the file to be