The resistive upper critical field of the cuprate superconductors