Tesing Gzip files
| From: | Prathaban Mookiah | Date: | Sat, 23 Apr 2005 07:44:05 +0000 |
| Subject: | Tesing Gzip files | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213715@lists.php.net to get a copy of this message | ||
Hello,
Is there a way to test if a .gz file is in a valid format. Functions like
gzread, gzfile don't seem to care if the file is corrupt or not.
gzeof also didn't work for me. I guess it is because it does not check for a
valid .gz termination. Any ideas to go about doing this?
Thanks in advance.
Cheers,
Prathap