Cita:
Iniciado por xSkArx
Y si usas file_get_contents() y file_put_contents()
Gracias por la pronta respuesta, pero sigo sin entender porque se reestablece a 0 el contador, no debería.
Entonces reemplazo:
fread() por file_get_contents() y fifputs() por file_put_contents()?
quedaría así?:
Código PHP:
file_get_contents($fichero_contador);
..............
file_put_contents($fichero);
Me guían para armarlo?.
Gracias de nuevo.