You are here: Re: [PHP] Tesing Gzip files « PHP « IT news, forums, messages
Re: [PHP] Tesing Gzip files

Posted by Richard Lynch on 10/12/49 11:14

On Sat, April 23, 2005 12:44 am, Prathaban Mookiah said:
> 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?

Google for gz and gzip and validity tests.

Most likely, you'll need to http://php.net/exec to test the files...

Or you could maybe add in the functionality to PHP itself with some C
hacking :-)

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация