AP Sports Writer
OAKLAND, Calif. (AP) -- All that talk of an improved Oakland Raiders defense was quickly forgotten in a flurry of touchdown passes by Nick Foles.
The backup quarterback tied an NFL mark with seven TD tosses and threw for 406 yards to revitalize Philadelphia's struggling offense in the Eagles' 49-20 victory over the Raiders on Sunday.
"The last couple of weeks there have been a lot of great things said about us, and not just the defense but overall," Oakland safety Charles Woodson said. "What we did today was open ourselves up for those attacks going forward. We'll have to hear about it all week long. They'll keep replaying this game all week long, so we're going to take a beating, and we've got to stand up to it and accept it for what it is but understanding that the season does go on."
Foles connected three times with Riley Cooper, becoming the seventh passer in NFL history to throw for seven touchdowns in a game. Peyton Manning did it for Denver on opening night this season against Baltimore.
Foles also threw scoring passes to Brent Celek, Zach Ertz, LeSean McCoy and DeSean Jackson as the Eagles (4-5) looked nothing like the offense that failed to score a touchdown in each of the past two weeks.
"Every defense the past couple of weeks has been stopping us," McCoy said. "So today we were kind of feeling bottled up and we released everything. It's tough when you're not winning and you're not putting points up. We're an offense that can put points up and we showed that the first six weeks."
The Raiders (3-5) had appeared much improved on defense in recent weeks but were completely flummoxed by coach Chip Kelly's up-tempo spread offense that stalled recently after a fast debut in the NFL.
Foles completed 22 of 28 passes as he frequently exploited mismatches and blown coverages, starting with a 42-yard screen pass to Cooper on the opening drive when the Raiders had two defenders trying to match up with three receivers.
McCoy took a short pass and ran 25 yards untouched for his score in the third quarter and Jackson raced past Mike Jenkins on his 46-yard touchdown later in the third.
"When a quarterback has seven touchdowns, we have to sit there and take that personal," Raiders cornerback Tracy Porter said. "We can't give a guy seven touchdowns in a game, let alone put up 49 points on us. It was flat-out embarrassing that we allowed that to happen."
Foles then tied the record with a 5-yard pass to Cooper with 4:28 remaining in the third quarter, matching the mark also held by Sid Luckman, Adrian Burk, George Blanda, Y.A. Tittle and Joe Kapp. Burk did it for the Eagles in 1954 against Washington.
With more than a quarter to go to break the record, Foles was unable to get the Eagles back into the end zone on the next two drives before being replaced by Matt Barkley.
"I know what the record is," Kelly said. "But this isn't about records, it's about going out and getting a win. If I put Nick out there to try to get a record and he gets hurt, that's being silly. Records are meant to broken when they're supposed to be broken."
That was about all Foles couldn't do in his first game since being held to 80 yards on 29 passes before leaving with a concussion two weeks ago against Dallas.
Foles only got another shot this week because regular starter Michael Vick reinjured his hamstring in a loss to the New York Giants last week. But now, it will be tough to take out Foles with 13 touchdown passes and no interceptions this season.
"Everybody started acting like his career was over after that Dallas game but they forgot that he had played some good football before that," center Jason Kelce said. "A lot of that criticism will probably be halted for at least one week."
Foles repeatedly targeted rookie cornerback D.J. Hayden as he led the Eagles to touchdowns on their first four drives for the first time in three years. Hayden was beaten on successive plays by Cooper for a 17-yard completion and 63-yard touchdown early in the second quarter.
The Raiders couldn't keep up with Philadelphia's torrid scoring pace despite gaining 560 yards -- their third-most ever and most since 1968. They had one first-quarter drive stall in the red zone for a field goal and then couldn't play catch-up in the second half when the Eagles turned a 28-13 halftime lead into a blowout.