il txt contiene sempre 0 ?
non aumenta ?
se sì prova a scriverci 4
e rilancia il tutti
che succede ?

potrebbe esserci sul server un antivirus con script blocking (ad esempoi norton antivirus)