ANAHEIM, CALIF., SEPT. 23 -- In danger of going 0-3, the Philadelphia Eagles took Coach Buddy Ryan off the hot seat and put some pop back in their offense.

Randall Cunningham threw for two touchdowns and Anthony Toney ran for 103 yards as the Eagles beat the Los Angeles Rams, 27-21, today in a matchup of last year's NFC wild card teams.

"It was just a start, like having our old team back," Cunningham said. "Buddy told me before the game, 'Don't sit back and hold the ball.' I said, 'Thank you for letting me be myself.' "

Ryan, in the final season of a five-year contract, reportedly was under fire after the Eagles started with two NFC East losses, including a 23-21 shocker to Phoenix.

"It was a great win for us," Ryan said. "The Rams always have had great personnel. Anytime you beat a Ram team, you've done a good job.

"No question, we'll see the Rams again in the playoffs. They are a good team and so are we, even after losing the last two."

The Eagles (1-2) have had a weak running game, but were bolstered by Toney, who became the first Eagle since 1987 to rush for 100 yards.

"When the offensive line gets good penetration, the defense is moving back and I'm running full speed," Toney said. "They don't have much sting on their hits."

Tight end Keith Jackson caught four passes for 77 yards just four days after ending a 50-day holdout. Cunningham completed 18 of 29 passes for 248 yards, with one interception. He also gained 44 yards on seven carries, several coming on third down.

The Rams fell to 1-2. Los Angeles beat the Eagles, 21-7, in the NFC wild card game last New Year's Eve in Philadelphia.

With the exception of a 60-yard scoring drive late in the game, the Eagles allowed the Rams very little in the second half. Overall, the Eagles outgained the NFL's No. 1 offense, 405-281, and held the Rams to only 35 yards rushing.

"Offensively, we had big plays, but we didn't have enough consistency in what we did," Rams Coach John Robinson said. "When we had the football, we didn't make first downs {only 15 to Philadelphia's 25}."

Cunningham's 14-yard pass to Calvin Williams 34 seconds before halftime put the Eagles ahead for good, 17-14.

The Eagles then got an 18-yard field goal from Roger Ruzek in the third quarter and a two-yard scoring run by Robert Drummond early in the fourth. Philadelphia outgained Los Angeles, 93-13, in the third quarter.

The Eagles started their first drive of the second half on the Rams' 40 after Izel Jenkins blocked Keith English's punt. But on third and goal from the Los Angeles 1, Cunningham overthrew Mike Quick on a timing pattern, and the Eagles settled for Ruzek's field goal.

The Rams got the ball at the Eagles' 18 when Michael Stewart forced Toney to fumble and recovered it. But they were driven back on two straight plays, including Mike Golic's sack of Jim Everett, and Mike Lansford missed a 48-yard field goal.

The Eagles then drove 69 yards on eight plays for Drummond's score 51 seconds into the fourth quarter. Jackson had a 28-yard reception on the drive.

Los Angeles closed the gap on Cleveland Gary's one-yard run 6:47 into the fourth quarter.

"They did a fine job of keeping our offense off the field in the fourth quarter, and that was crucial," Everett said.

"Our offense was playing so well that we knew when they went out there they could score," Eagles defensive end Reggie White said. "They did a great job holding the ball and moving it."