Devi usare un linguaggio server anche se hai i dati all'interno di un file txt.