SAN FRANCISCO -- Cody Asche took one look at the starting lineup and felt his confidence grow. Phillies manager Ryne Sandberg challenged him, and that was enough. Asche hit a two-run homer in the eighth inning to tie the game and then started the decisive rally with a double to open the 10th as Philadelphia rallied to beat the San Francisco Giants 5-3 on Friday night. "He saw something in me that made him want to put me in," Asche said. "I was confident just by the fact I was in there." Chase Utley was hit by a pitch with the bases loaded in the 10th and Ryan Howard followed with a sacrifice fly against Javier Lopez, snapping the Phillies three-game losing streak. Sandberg gave Andres Blanco the day off and went with Asche against Madison Bumgarner. "If you want a chance to become a regular player, you have to face lefties," Sandberg said. Asche connected against Jeremy Affeldt, who allowed his first home run this season, and doubled off Santiago Casilla (1-3) to set the stage for the winning rally. Ken Giles (2-0) pitched two scoreless innings, and Jonathan Papelbon worked the 10th for his 28th save in 31 chances. Bumgarner threw seven strong innings for his first quality start at home since June 10, a span of seven games. He allowed one run and four hits, striking out nine without a walk. "It was nice to pitch a good game at home," Bumgarner said. "Its been forever." Cole Hamels also delivered a quality start for Philadelphia, giving up three runs and nine hits over seven innings. He walked two and struck out five. Pablo Sandoval had three hits, but the Giants lost their sixth in seven games. Bumgarner retired the first 10 hitters he faced, five on strikeouts, before allowing back-to-back hits by Jimmy Rollins and Utley. Hamels let the leadoff hitter reach base in five innings and had baserunners every inning. He was able to avoid trouble with the exception of the fourth. Buster Posey led off with a single and Sandoval hit a ground-rule double ahead of Michael Morses first home run in August, a three-run drive into the left-field seats. Marlon Byrd countered with his 23rd homer leading off the fifth. TRAINERS ROOM Phillies: OF John Mayberry Jr. continues to deal with inflammation in his left wrist. His recovery has been interrupted by minor setbacks following workouts. Giants: 1B Brandon Belt will get another opinion on his concussion when the Giants visit Chicago next week. Belt will see concussion specialist Michael Collins in Pittsburgh. UP NEXT Phillies: RHP Kyle Kendrick (5-11, 4.88 ERA) takes the mound Saturday afternoon. He is 1-3 in his past six starts and has an ERA of 6.98 over his last seven. Giants: RHP Tim Hudson (8-9, 2.81) pitches Saturday. The Giants have lost seven of his last 10 starts. Hudson has started 30 games against the Phillies and is 11-10 with a 3.60 ERA against them. BYRD IS THE WORD Giants third base coach Tim Flannery sent Sandoval home with two outs in the eighth on Joe Paniks single to right. Byrds throw to Carlos Ruiz was there in plenty of time, keeping the game tied. "Defence always comes first," Byrd said. "Im not always going to hit, and I take pride in my defence." Byrd also ran down Morses 400-foot fly in the second to the roomy area of the ballpark known as Triples Alley. COOL LIKE CARLTON Hamels had his streak of pitching at least seven innings and allowing no more than one earned run stopped at five games, one shy of matching the franchise record. Steve Carlton was the last Phillies pitcher to do it, in 1972. Grover Cleveland Alexander (1916) and Elmer Jacobs (1918) also accomplished the feat. Marcus Smart Celtics Jersey . Murakami gracefully executed a double triple toe jump and a triple flip jump that put her at the top of a tightly contested race with 64.73 points, just ahead of Li Zijun of China on 62. Shaquille ONeal Celtics Jersey . His head snapped back from the impact and hit the floor. The All-Star power forward was all right afterward, a relief for the Minnesota Timberwolves. http://www.celticssale.com/kids-walter-brown-celtics-jersey/ . -- Downcast before the final game of what had been a difficult road trip, the Ottawa Senators found a way to dig out a little momentum in the desert before heading home. John Havlicek Jersey . Bostons bats exploded in Mondays opener, as David Ortiz belted a pair of two-run homers, Stephen Drew homered and drove in four runs and the Red Sox pummeled the Blue Jays, 14-1. Bill Russell Celtics Jersey .com) - Eric Fehr and Marcus Johansson each registered a pair of goals, as Washington spoiled the head coaching debut of Peter Horachek by picking up a 6-2 victory in Toronto on Wednesday. RIO DE JANEIRO, Brazil -- Second-seeded David Ferrer overcame a tough first set to advance to the Rio Open quarterfinals with a 7-6 (2), 6-1 win over Argentinas Federico Delbonis on Wednesday. Ferrer joins fellow-Spaniard Tommy Robredo in the final eight after the No. 4 seed downed Dusan Lajovic of Serbia 6-2, 6-1 in the outdoor clay tournament. Eleven of Robredos 12 ATP titles have been won on clay. Ferrer next faces Brazils Thomaz Bellucci, who came back to claim an upset 4-6, 6-3, 6-3 win over No. 7 seed Juan Monaco (7), Argentina. Robredo will play another Spaniard, Pablo Andujar who advanced when Maartin Klizan of Slovakia withdrew with an injury.dddddddddddd In womens matches at the joint WTA-ATP event, top-seeded Klara Zakopalova of the Czech Republic beat Spains Silvia Soler-Espinosa 6-4, 6-1 to reach the quarterfinals. Third-seeded Paula Ormaechea of Argentina defeated Dutchwoman Kiki Bertens 7-5, 7-5 to also land in the quarterfinals. No. 5 Kurumi Nara of Japan beat Taiwans Hsieh Su-wei 6-3, 6-2 to reach the second round. Anna-Lena Friedsam of Germany is also into the second round, while Polands Katarzyna Piter and Nastassja Burnett of Italy won to advance to the quarterfinals. ' ' '