Page 1 of 1

Track changes to a document stored in an SQL database

Posted: Mon Dec 12, 2005 11:24 pm
by Cogs
Hi,

I while ago I wrote a PHP class that returned the diff of two text documents. It had fundamental flaws so it was dropped. I'm in need of some kind of php diff function for an project that has wiki-like functionality.

What would be the best method for determining the difference between new (submitted) and old (currently stored) versions so that it stores only the changes and provides the ability to revert to an older state?

Posted: Tue Dec 13, 2005 12:50 am
by m3mn0n
Take a look into CVS.