PHILADELPHIA -- The Flyers had the stirring comeback.
The Sabres will take the win -- and the shot at winning the playoff series at home.
Tyler Ennis scored off a rebound 5:31 into overtime Friday night to give Buffalo a 4-3 victory over the Flyers and a 3-2 lead in the first-round series.
Mike Weber set up the winner when he fired a slapper that knocked off Michael Leighton's pad. Ennis swooped in from the right side and scored his second goal of the game. The Sabres survived after blowing a 3-0 lead and can advance to the Eastern Conference semifinals with a victory in Game 6 on Sunday in Buffalo.
"All I know, is I wanted to score the winner," Ennis said. "I just wanted to be the guy who ended it."
Ennis opened the scoring in the first period, and Thomas Vanek and Marc-Andre Gragnani also scored in the period to chase Flyers starting goalie Brian Boucher. Leighton, who led the Flyers to the Stanley Cup finals a year ago, was flawless until overtime.
The Flyers, the No. 2 seed in the East, are missing Jeff Carter and Chris Pronger and are on their third goalie of the series. Their biggest problem could come Sunday where the Sabres are poised to send the defending Eastern Conference champions home for the offseason.
Ryan Miller made 36 saves for Buffalo.
Staked to the early lead, it seemed over for Flyers. Miller has two 1-0 victories in the series and appeared to again stump the Flyers. Not for long.
After van Riemsdyk and Meszaros scored in the second, Briere stuck it to his former team when his backhander off a behind-the-net feed from Mike Richards tied it at 3.
The rally ended there.
Ennis pounded the winner past Leighton, who made only his second appearance for the Flyers this season.
"This is definitely a great place to play," Ennis said. "Any time you can silence the crowd like that, it's an awesome feeling."
Stuck in a 3-0 hole, the Flyers felt at home.
After all, last season they trailed Boston 3-0 in the Eastern Conference semifinals and won the series. The Flyers won Game 7 after trailing 3-0.
"We can't hang our heads," Briere said. "We were in a worse position last year, so if there's a group of guys that can do it, I believe in this group here."
Like last year's Game 7 in Boston, it was van Riemsdyk who struck first.
With Miller a few feet in front of the crease, van Riemsdyk punched the puck in the empty net to end Miller's shutout streak.
Meszaros then scorched a liner from the point to make it 3-2.
Flyers fans busted out the derisive "Miller! Miller!" chants. The Flyers outshot the Sabres 15-5 in the second and appeared in control.
Hard to believe considering the damage Buffalo inflicted in the first.
For the second time in the series, the Sabres chased a Flyers goalie after taking a 3-0 lead. In Game 2, it was rookie Sergei Bobrovsky. On Friday, Boucher was yanked after allowing three goals on 11 shots.
Leighton got the call, capping one of the more improbable rides of any recent Flyer. He started for the Flyers in the Stanley Cup finals, signed a two-year deal in the summer, then hurt his back and spent all but one game in the minors.
Leighton played his first game in Philadelphia since a Jan. 21 start for the Adirondack Phantoms, the Flyers' AHL affiliate.
Improbably, he'll likely start Game 6.
Boucher allowed two of the softest goals of the season only 1:27 apart early in the first. Ennis and Vanek scored after Boucher let the pucks knock off his leg and into the net.
Gragnani banked the puck off the post past a surprised Boucher on a power play for a 3-0 lead late in the first and the Sabres were clearly in control.
That "Booooosh!" cheer that sounded so sweet in Game 2 certainly had a different spin with the "sh" knocked off.
That was all for Boucher. Boucher knew he blew his shot to stick as the No. 1 goalie. He whacked a row of sticks with his goalie stick, kicked the sticks and tossed his helmet inside the tunnel leading to the locker room.
"I'd very much like to redeem myself," Boucher said. "Like I said, it was my responsibility tonight. I take ownership in that. To put your team in a hole like that, they didn't deserve that."
Leighton stopped the final 18 shots in regulation and he might just yet bail out the Flyers again in the playoffs.
As usual, coach Peter Laviolette refused to tip his hand.
Carter was knocked out of Game 4 after he hurt his right knee in a collision, and Pronger, who appeared close to a return, is still out with a broken right hand.
Pominville, who scored the only goal in Game 4, slammed down his stick and helmet and hopped on his right leg off the ice. He appeared to get sliced in the back of his leg after a collision in the corner of the Sabres' zone and was seen leaving the arena on crutches wearing a walking cast.
"It doesn't look too good for him," coach Lindy Ruff said. "We'll know more about that tomorrow."
Leopold, who did return, appeared to get cut across his chin and was spitting blood on the bench.
In the postseason, a win always helps makes up for injuries.
"This puts a smile on your face as a coach," Ruff said.
Leighton won his only start for the Flyers this season. ... A puck shattered a pane of glass during warmups.
Information from ESPN.com's Scott Burnside and The Associated Press contributed to this report.