PHILADELPHIA — Martin St. Louis often was told he was too small to play in the NHL and nobody drafted him coming out of the University of Vermont.

He’s still achieving milestones nearly two decades later.

St. Louis scored his 1,000th career point on a goal, goaltender Cam Talbot stopped 26 shots for his second shutout in 10 days and the New York Rangers beat the Philadelphia Flyers 3-0 on Friday afternoon.

Defenseman Dan Boyle and left winger Rick Nash also scored and center Derek Stepan had three assists.

“Drafted or undrafted, nobody can take it away from me,” St. Louis said. “You come in this league and try to make a name for yourself and show people that you can play the game and as you establish yourself, you try to win championships. But when you’re playing on good teams, you’re going to get rewarded individually, so I think if you have the right frame of mind it pays off in the long run.

“I always felt that I had the right frame of mind and able to play with some great players throughout my career and the guys have been awesome. Today, to do it like this is a big win and the support I’ve got from the beginning has been tremendous.”

Talbot, the backup to Henrik Lundqvist, posted his fifth career shutout with another stellar performance. He made 31 saves in a 2-0 win over the Flyers at Madison Square Garden last Wednesday. Talbot’s last three wins have been shutouts, including one at Edmonton on March 30.

“The guys in front of him played hard, too,” Rangers coach Alain Vigneault said. “They didn’t have a lot of chances in the first two periods and in the third they had a couple of looks that Cam made some big saves on.”

The Flyers (8-11-3) are 1-6-1 in their last eight games, and they were booed off their home ice.

“We deserve it,” Flyers captain Claude Giroux said. “Obviously, the effort could be a little better, but I think the effort is not the issue right now. I think it’s the way we are playing as a team. We are just not playing together.

“We’ve got to do a better job of sticking together. We need to start playing better and we will soon. We just need to figure it out.”

The Rangers (10-8-4) took a 1-0 lead on Boyle’s power-play goal 6:10 into the first period. Boyle blasted a slap shot past goaltender Steve Mason for his second goal. It was the 11th power-play goal allowed by the Flyers in the past eight games.

St. Louis scored on a rebound off a shot by Stepan to make it 2-0 in the second period. St. Louis, a 12-time All-Star, was acquired by the Rangers from Tampa Bay at the trade deadline last season. He has 379 goals and 621 assists in 16 seasons.

“To get 1,000, it’s a great accomplishment,” St. Louis said. “I’m not going to hide my feelings, I’m proud of that. To do it on a win, do it on a goal, I think it makes it special and the boys really played well today.”

The low point for the Flyers came when they allowed Nash’s short-handed goal less than a minute into a double-minor for high-sticking on left winger Chris Kreider in the third period.

A turnover led to a 3-on-1 break. Nash took a crossing pass from Stepan and beat Mason for his 16th goal.

“It is embarrassing,” Flyers defenseman Mark Streit said. “It’s a big rivalry. At this point, it’s tough. It’s a loss, but it hurts. It’s at home and fans weren’t too happy about it.

“We are —-ed off as well, but still we have a game tomorrow at the Garden and we have to shake it off. It’s almost a quarter of the season that’s done and we have to get back on track, and we have a good opportunity tomorrow.”

NOTES: Flyers D Luke Schenn was a healthy scratch two days after coach Craig Berube made it clear he was not happy with some performances and promised changes. … The teams complete the home-and-home set Saturday in New York. … G Steve Mason made his 10th start in 12 games. … New York captain Ryan McDonagh was back in the lineup for the first time since Nov. 1. He had been out with a separated left shoulder. … Rangers D John Moore was a healthy scratch for the first time this season. … Rangers LW Tanner Glass was sent home because he has the flu. … The Flyers sent LW Jason Akeson to their AHL affiliate, Lehigh Valley.