[PHP] Test a zip file for validity

2003-08-01 Thread Ivo Pletikosic
Hello all, How do I go about checking if a file is a zip file? Wrapping the zipinfo utility in php did not help since it does not return an exit code whether it succeeded or not. Thanks, IP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Test a zip file for validity

2003-08-01 Thread Chris W. Parker
Ivo Pletikosic mailto:[EMAIL PROTECTED] 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

Re: [PHP] Test a zip file for validity

2003-08-01 Thread Curt Zirzow
* Thus wrote Ivo Pletikosic ([EMAIL PROTECTED]): Hello all, How do I go about checking if a file is a zip file? Wrapping the zipinfo utility in php did not help since it does not return an exit code whether it succeeded or not. I'm assuming the zipinfo your talking about is part of the