C.F. Scheidecker Antunes wrote:
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?
how about invoking the diff command?
--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php