Devi mettere nel form anche l'attributo enctype="text/plain".