You are here: Re: php diff « PHP Programming Language « IT news, forums, messages
Re: php diff

Posted by Andy Hassall on 12/18/06 17:43

On Mon, 18 Dec 2006 17:39:27 GMT, "AirYT" <airyt@funkychickens.org> wrote:

>I'm looking for an implementation for diffing 2 (text) files and spitting
>out the output using php only. i would like to extend this to use ftp to
>diff two files on two ftp servers, or one local file & a remote ftp server.
>
>Anyone have any ideas on source for this before i go ahead and build it? At
>least the diff engine? a nice gui would be best, but not totally necessary.

For the diff engine part:

http://pear.php.net/package/Text_Diff
(I've been using this for a while and it's fine)

http://pecl.php.net/package/xdiff
(Not pure PHP, it's a compiled extension)

Or shell out to an external diff command.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

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

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