Grazie!

No, ma non salvo usr e passw in un txt, è un codice che ho preso da un sito e lo stavo giusto usando per provare