Resistive and magnetic anomalies in high Tc cuprates