il tempo massimo per lo script e gia infinito
non è un problema di script poiche a video riesco a stampare il file generato dinamicamnete

Il problema nasce nel inserire i dati nel database sembra che non ce la faccia

io faccio cosi:

$fp = fopen($nomefile, "r");

if ($fp) {

for ($t=1; $t<30000; $t++) {

$matrice[$t] = fgets($fp, 4096);

$matrice[$t] = str_replace(", ","','",$matrice[$t]);


mysql_ping($db);

mysql_query("INSERT INTO $table VALUES ('$matrice[$t]')");

}

avete suggerimenti?

ciao