Hi, I am working on a series of long files that contain 4 or 5 MB each, each of them is encoded in UTF-8 saved as .dat format. However, I have noticed that when I do insert statements, the file only reads up to around 1MB and then would stop. If I split the file into 3 or 4 files, that would hold no more than 1.2 MB each, then I won't have problems. Is there a limitation on how much data can be read and written in PHP within one instance? Thanks for your help. Alice _________________________________________________________________ Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today! http://get.live.com/toolbar/overview