|
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]
|