RE: [PHP] Test a zip file for validity
| From: | Chris W. Parker | Date: | Sat, 02 Aug 2003 00:13:02 +0000 |
| Subject: | RE: [PHP] Test a zip file for validity | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-158023@lists.php.net to get a copy of this message | ||
Ivo Pletikosic <mailto:ivo@benetech.org>
on Friday, August 01, 2003 5:10 PM said:
> Wrapping the zipinfo utility in php did not help since it does not
> return an exit code whether it succeeded or not.
Well if zipinfo returns anything at all it's probably valid. If it
doesn't then it's probably not since it can't read the file properly.
But then again I've never heard of the "zipinfo utility" so I could be
totally wrong.
Chris.