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

Your name:

Reply:


Posted by comp.lang.php on 12/07/05 21:05

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)

Thanx
Phil

Steve wrote:
> > * Determine if a file is binary. Useful for doing file content
> > editing
>
> > Problem is that the results are completely backwards:
>
> > It's basically saying that binary files are ASCII and all ASCII files
> > are binary! Is there a better function out there that can tell me if a
> > file is binary or not?
>
> Here is another suggestion:
> <http://groups.google.co.uk/group/comp.lang.php/browse_thread/thread/1d01eb12555a940d/cbf2065e8238ac45#cbf2065e8238ac45>
>
> ---
> 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

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