Get difference between strings.
| From: | David Duong | Date: | Sat, 22 Jun 2002 23:05:44 +0000 |
| Subject: | Get difference between strings. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103429@lists.php.net to get a copy of this message | ||
How would I get the difference between strings?
Example:
ViewCVS can browse directories, change logs, and revisions of files. It can
display diffs between versions and show selections of files based on tags or
branches...
This was word for word from sourceforge project ViewCVS, however ViewCVS was
written in Python.
Is their a way for PHP to Display the 'diffs' between two submitted text?
Lets say the user submitted a text file stored as $textin, then the script
displays the 'diffs' (including what was removed) between it and a previous
text stored as $otext.
I just need to be pointed in the right direction.