Drew Stanton threw a pair of third-quarter touchdown passes to rookie John Brown and Arizona rallied to beat San Francisco 23-14 on Sunday, snapping a four-game losing streak to the 49ers.

Tommy Kelly blocked a field goal for the Cardinals (3-0), who outscored San Francisco 17-0 in the second half.

The 49ers (1-2) mounted 80-yard touchdown drives the first two times they had the ball, then didn't score again, blowing a halftime lead for the second week in a row.

Stanton, starting for injured Carson Palmer for the second straight week, completed 18 of 33 for 244 yards and two scores. Michael Floyd caught five for 114 yards.

The 49ers' Colin Kaepernick completed 29 of 37 for 245 yards and a touchdown and ran for another 54.

___

AP NFL website: www.pro32.ap.org and www.twitter.com/AP_NFL.