Compare two TXT files
| From: | C.F. Scheidecker Antunes | Date: | Sun, 18 Jul 2004 01:07:44 +0000 |
| Subject: | Compare two TXT files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190866@lists.php.net to get a copy of this message | ||
Hello all,
Is there a more efficient way to compare 2 TXT files other than reading line by line ?
What I was doing was reading line by line and compare both files, if one line is different the loops are interrupted and the function returns true.
Any ideas?
Thanks in advance.