Io ho usato la funzione fgetcvs http://it2.php.net/manual/it/function.fgetcsv.php

leggo ed inserisco nel db