Reply to Re: How to tell if a file is binary

Your name:

Reply:


Posted by Steve on 12/07/05 23:06

> Thanx but that was not enough information for me.

> 1) Is the "diff tool" PHP, Linux, Windows, UNIX, Perl, ...??
> 2) Is there a comprehensive way of determining exactly how many bytes
> you read into this diff tool (e.g. Windows: 1024? Linux: 256? FreeBSD:
> 512)

I wasn't suggesting you use diff itself, just create a test in PHP
using a similar algorithm. There's no definitive number of bytes to
test, as it is not an exact science. The more bytes you test, the more
reliable the result.

---
Steve

[Back to original 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

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