Werner, The truly quickest way to do this is setting up a table (Cach� class) and using SQL Manager to import the file into the table.
This does not provide you with many choices for processing the data whilst it's being loaded, but after it's loaded you can process it in terms of objects or SQL access. On the other hand, the import wizard generates a routine which you can look into for an idea of how to manually process the file. It isn't too much code and it is roughly similar to the PHP equivalent you've posted (albeit we don't have explode() in COS :( ) If you want a simpler solution, please search the archive at http://xiscsp.co.uk/npg for previous posts, code to this effect has been posted here before. HTH, Ram�n
