Comparing 2 large CSV files with PHP

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

wei
Forum Contributor
Posts: 140
Joined: Wed Jul 12, 2006 12:18 am

Post by wei »

can you sort both files first? and then compare? You can move through the file without loading the whole file, you can read the file in chunks
http://au.php.net/manual/en/function.fread.php
Post Reply