"They are willing to throw women under the bus, even if it means they'll shut down the government," he said. "Republican leaders in the House have only a few hours left to look in the mirror, snap out of it and realize how positively shameful that would be."
But Boehner said there was "only one reason that we do not have an agreement as yet, and that issue is spending."
"When will the White House and when will Senate Democrats get serious about cutting federal spending?" he asked.
Boehner urged Obama to reconsider a veto threat against legislation to keep the government open for one additional week while negotiators continue working on a deal to fund federal programs through Sept. 30.
The short-term measure includes $12 billion in spending cuts and would provide enough funds to keep the Pentagon in operation through Sept. 30.
Obama said ominously on Friday night that the machinery of a shutdown was already in motion.
Congressional aides were trying to cobble together a deal on how much federal spending to slash, where to cut it and what caveats to attach as part of a bill to fund the government through the end of the budget year on Sept. 30. The most recent temporary federal spending measure expires at midnight.
For a nation eager to trim to federal spending but also weary of Washington bickering, the spending showdown had real implications.
A closure would mean the furloughs of hundreds of thousands of workers and the services they provide, from processing many tax refunds to approving business loans. Medical research would be disrupted, national parks would close and most travel visa and passport services would stop, among many others.
Republicans want deeper spending cuts than the Democrats favor and also are pressing for provisions to cut off federal funds to Planned Parenthood and to stop the Environmental Protection Agency from issuing numerous anti-pollution regulations.
"They're difficult issues. They're important to both sides and so I'm not yet prepared to express wild optimism," the president said.
There was agreement that a shutdown posed risks to an economy still recovering from the worst recession in decades.
The political fallout was less predictable, especially with control of government divided and dozens of new tea party-backed Republicans part of a new GOP majority in the House. Twin government shutdowns in the mid-1990s damaged Republicans, then new to power in Congress, and helped President Bill Clinton win re-election in 1996.
This time, individual lawmakers worked to insulate themselves from any political damage. Sens. Sherrod Brown, D-Ohio, and Ben Nelson, D-Neb., both seeking new terms in 2012, became the latest to announce they would not accept congressional pay during any shutdown. "If retroactive pay is later approved, I'll direct my part to the U.S. Treasury," Nelson said. Some two dozen senators of both parties scurried to make similar pledges.
There also were hints Thursday of Republican flexibility on the ban they were seeking to deny federal funds to Planned Parenthood. Officials said Republicans had suggested giving state officials discretion in deciding how to distribute family planning funds that now go directly from the federal government to organizations such as Planned Parenthood.
That would presumably leave a decision on funding to governors, many of whom oppose abortion, and sever the financial link with the federal government.
Associated Press writers David Espo, Jim Kuhnhenn, Darlene Superville and Julie Pace contributed to this report.
Copyright 2011 The Associated Press.