* 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 unzip
package. You should use unzip to test the files

unzip -t file.zip

will check the checksum for each file.

'man unzip' for further details.

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to