SAN FRANCISCO -- The 49ers moved into second place all alone in the NFC West standings with their 32-20 victory over the Arizona Cardinals.